• 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 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.

          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.

          Steve Graham added a comment -

          I tried a test instance with 2.145 - got a huge load of plugin warnings.
          gave up in the end.

          Steve Graham added a comment - I tried a test instance with 2.145 - got a huge load of plugin warnings. gave up in the end.

          Steve Graham added a comment -

          From what I can see, Praqma created the clearacse UCM plugins.
          I do not have these installed -
          I have Clearcase - version 1.6.3
          and Simple Dynamic Clearcase 1.2.2
          This is more an display issue.

          Steve Graham added a comment - From what I can see, Praqma created the clearacse UCM plugins. I do not have these installed - I have Clearcase - version 1.6.3 and Simple Dynamic Clearcase 1.2.2 This is more an display issue.

          Steve Graham added a comment - - edited

          since the recent change to <div> in 2.277.1 this looks even worse.
          The Changes page in jenkins is now more blank than ever.

          29.
          xx1274yy
          detail
          0003569235<br>Added file element "file1.png".<br>Added file element "file2.png".<br>Added file element "file3.png".<br>Added file element "file4.png".<br>Added file element "file5.png".<br>Added file element "fg6.jpg".<br>Added file element "file10.png".<br>Added file element "file11.png".<br>Added file element "file12.png".<br>

          Steve Graham added a comment - - edited since the recent change to <div> in 2.277.1 this looks even worse. The Changes page in jenkins is now more blank than ever. 29. xx1274yy detail 0003569235<br>Added file element "file1.png".<br>Added file element "file2.png".<br>Added file element "file3.png".<br>Added file element "file4.png".<br>Added file element "file5.png".<br>Added file element "fg6.jpg".<br>Added file element "file10.png".<br>Added file element "file11.png".<br>Added file element "file12.png".<br>

          Daniel Beck added a comment -

          I realize this is annoying, but a UI glitch is not quite "critical".

          Daniel Beck added a comment - I realize this is annoying, but a UI glitch is not quite "critical".

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

              Created:
              Updated: