• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin, core

      The clearcase changelog is no longer correctly displayed.

      All comments are concatenated into one line.

      • An end of line is changed to <br> and when looking at html source it contains <br>
      • changelog.xml contains &quot and &quot appears in source html  ( can be fixed by modifying changelog.xml changing &quot to " ) 

      Original ( in changelog.xml )

      <user>myUserName</user>
      <comment>My Change Comment
      the second line of my comment

      </comment>

       

      Jenkins Job - Recent Changes

      #1234 ( Apr 10, 2019 ...)

      1. myUserName  detail My Change Comment*<br>the second line of my comment<br>*

       

      html page source

      class="changeset-message"><b>1. <a href="/jenkins/user/myUser/">myUserName</a> on 16/04/2019 13:22:59</b><br />
      My Change Comment*<br>the second line of my comment <br>*

      ( The display of the actual text is converted - the text contains
      amp lt;br>
      even here the <br> is converted ) - edit to see input text

      I can't remember when it first happened, could have been the change from http to https

      Could also be the configuration of the ReverseProxy 

       

          [JENKINS-57021] Clearcase changelog not displaying correctly

          Steve Graham created issue -
          Steve Graham made changes -
          Priority Original: Trivial [ 5 ] New: Minor [ 4 ]
          Steve Graham made changes -
          Description Original: The clearcase changelog is no longer correctly displayed.

          All comments are concatenated into one line.
           * An end of line is changed to <br> and when looking at html source it contains &lt;br>
           * changelog.xml contains &quot and &amp;quot appears in source html  ( can be fixed by modifying changelog.xml changing &quot to " ) 

          *Original ( in changelog.xml )*

          <user>myUserName</user>
           <comment>My Change Comment
           the second line of my comment

          </comment>

           

          *Jenkins Job - Recent Changes*

          #1234 ( Apr 10, 2019 ...)

          1. myUserName  detail My Change Comment*<br>*the second line of my comment*<br>*

           

          *html page source*

          class="changeset-message"><b>1. <a href="/jenkins/user/myUser/">myUserName</a> on 16/04/2019 13:22:59</b><br />
           My Change Comment*&lt;br>*the second line of my comment *&lt;br>*

          I can't remember when it first happened, could have been the change from http to https (?)

          Could also be the configuration of the ReverseProxy 

           
          New: The clearcase changelog is no longer correctly displayed.

          All comments are concatenated into one line.
           * An end of line is changed to <br> and when looking at html source it contains &lt;br>
           * changelog.xml contains &quot and &amp;quot appears in source html  ( can be fixed by modifying changelog.xml changing &quot to " ) 

          *Original ( in changelog.xml )*

          <user>myUserName</user>
           <comment>My Change Comment
           the second line of my comment

          </comment>

           

          *Jenkins Job - Recent Changes*

          #1234 ( Apr 10, 2019 ...)

          1. myUserName  detail My Change Comment*<br>*the second line of my comment*<br>*

           

          *html page source*

          class="changeset-message"><b>1. <a href="/jenkins/user/myUser/">myUserName</a> on 16/04/2019 13:22:59</b><br />
           My Change Comment*&lt;br>*the second line of my comment *&lt;br>*

          ( The display of the actual text is converted - the text contains
          amp lt;br>
          even here the &lt;br> is converted ) - edit to see input text

          I can't remember when it first happened, could have been the change from http to https (?)

          Could also be the configuration of the ReverseProxy 

           

          Steve Graham added a comment -

          Changed from Trivial to minor - its a real pain . A multi line comment can no longer be read and it is really irritating.

          Steve Graham added a comment - Changed from Trivial to minor - its a real pain . A multi line comment can no longer be read and it is really irritating.

          Steve Graham added a comment -

          to do with
          changeset-message

          Steve Graham added a comment - to do with changeset-message

          Steve Graham added a comment - - edited

          This is still a big problem.

          The changelog.xml file has:

          <entry>
          <user>myUserName</user>
          <comment>3569235
          Added file element "file1.png".
          Added file element "file2.png".
          Added file element "file3.png".
          Added file element "file4.xml".
          Added file element "file5.png".
          Added file element "fg6.jpg".
          Added file element "file10.png".
          Added file element "file11.png".
          Added file element "file12.png".
          <date>...</date>
          </entry>

          the Jenkins output in the GUI for Changes ( jenkins/job_name/changes )  has:

          29.myUserName detail0003569235<br>Added file element &quot;file1.png&quot;.<br>Added file element &quot;file2.png&quot;.<br>Added file element &quot;file3.png&quot;.<br>Added file element &quot;file4.png&quot;.<br>Added file element &quot;file5.png&quot;.<br>Added file element &quot;fg6.jpg&quot;.<br>Added file element &quot;file10.png&quot;.<br>Added file element &quot;file11.png&quot;.<br>Added file element &quot;file12.png&quot;.<br>

          This is unreadable and the changes cannot be seen.
          as I mentioned above - might be to do with changeset-message

          I will reassign this to DB since the fix for user ID / user Name was, as far as I can tell, in the same area.

          Steve Graham added a comment - - edited This is still a big problem. The changelog.xml file has: <entry> <user>myUserName</user> <comment>3569235 Added file element "file1.png" . Added file element "file2.png" . Added file element "file3.png" . Added file element "file4.xml" . Added file element "file5.png" . Added file element "fg6.jpg" . Added file element "file10.png" . Added file element "file11.png" . Added file element "file12.png" . <date>...</date> </entry> the Jenkins output in the GUI for Changes ( jenkins/job_name/changes )  has: 29.myUserName detail0003569235<br>Added file element &quot;file1.png&quot;.<br>Added file element &quot;file2.png&quot;.<br>Added file element &quot;file3.png&quot;.<br>Added file element &quot;file4.png&quot;.<br>Added file element &quot;file5.png&quot;.<br>Added file element &quot;fg6.jpg&quot;.<br>Added file element &quot;file10.png&quot;.<br>Added file element &quot;file11.png&quot;.<br>Added file element &quot;file12.png&quot;.<br> This is unreadable and the changes cannot be seen. as I mentioned above - might be to do with changeset-message I will reassign this to DB since the fix for user ID / user Name was, as far as I can tell, in the same area.
          Steve Graham made changes -
          Assignee Original: Praqma Support [ praqma ] New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Assignee Original: Daniel Beck [ danielbeck ] New: Praqma Support [ praqma ]

          Daniel Beck added a comment -

          If you can set up a test instance, it would be interesting to know if it started in Jenkins 2.146 (i.e. whether it still worked in 2.145).

          Daniel Beck added a comment - If you can set up a test instance, it would be interesting to know if it started in Jenkins 2.146 (i.e. whether it still worked in 2.145).

          Steve Graham added a comment -

          Unfortunately this was an issue a long time ago. I cannot say in which version it broke, sometime last year is my guess.
          It was assigned to Praqma Support and nothing happened which is why I added more details and showed really how useless the output to the screen is.
          Test installations are not easy to create, not allowed.
          It looks a simple issue - could have been when everything was changed to using <div>
          Why change quotes to " and insert <br> everywhere and then ignore the html formating.

          Steve Graham added a comment - Unfortunately this was an issue a long time ago. I cannot say in which version it broke, sometime last year is my guess. It was assigned to Praqma Support and nothing happened which is why I added more details and showed really how useless the output to the screen is. Test installations are not easy to create, not allowed. It looks a simple issue - could have been when everything was changed to using <div> Why change quotes to " and insert <br> everywhere and then ignore the html formating.

            praqma Praqma Support
            sgjenkins Steve Graham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: