Continuum
  1. Continuum
  2. CONTINUUM-1689

Bad string replacement of entities in build result

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.3.4 (Beta)
    • Fix Version/s: 1.4.1
    • Component/s: Web - UI
    • Labels:
      None

      Description

      I just noticed that the output of maven is wrongly encoded. Here's one of lines of he generated html source :
      [INFO] Setting property: resource.loader => 'classpath'.

      Remind: In the console, the output is the following (output of mvn site) :
      [INFO] Setting property: resource.loader => 'classpath'.

      As you can see, there's a problem
      I guess the entity conversion is done twice :

      • first "=>" is converted "=>"

      then another pass detects the & although it shouldn't process it anymore, so :

      • second "=>" is in turn converted "=>"

      I guess the correction weight might depend on how those conversion are done. As a lot of conversions produces an &, maybe encoding & as & should be the very first conversion to be done in the list ?
      Maybe even some "dependency" tree could do the trick (or even better, an API that already does that neatly ).

      Cheers.

      Let me know if you need anything else.

        Activity

        Baptiste MATHUS created issue -
        Brett Porter made changes -
        Field Original Value New Value
        Fix Version/s 1.2 [ 13779 ]
        Brett Porter made changes -
        Fix Version/s 1.2 [ 13779 ]
        Fix Version/s 1.3 [ 14168 ]
        Wendy Smoak made changes -
        Fix Version/s 1.3.x [ 14168 ]
        Fix Version/s Future [ 13292 ]
        Brett Porter made changes -
        Fix Version/s Future [ 13292 ]
        Wendy Smoak made changes -
        Affects Version/s 1.3.4 [ 15301 ]
        Fix Version/s 1.4.x [ 15104 ]
        Brett Porter made changes -
        Fix Version/s Backlog [ 15656 ]
        Fix Version/s 1.4.1 [ 15104 ]
        Chris Lim made changes -
        Attachment CONTINUUM-1689.patch [ 55434 ]
        Brett Porter made changes -
        Fix Version/s 1.4.1 (Beta) [ 15104 ]
        Fix Version/s Backlog [ 15656 ]
        Maria Odea Ching made changes -
        Assignee Maria Odea Ching [ oching ]
        Maria Odea Ching made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12710346 ] Default workflow, editable Closed status [ 12740014 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948336 ] Default workflow, editable Closed status [ 12983759 ]

          People

          • Assignee:
            Maria Odea Ching
            Reporter:
            Baptiste MATHUS
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development