Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-13841

Display Bug for categories with "&"-sign in Share Category Manager

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 4.2.4, 5.0
    • Fix Version/s: 5.0.2
    • Component/s: Share Application
    • Labels:
      None
    • Environment:
      Client: MacBook Pro with OS X 10.10.1 and Firefox 34
      Server: Ubuntu1204, 2x CPUs and 8 GB RAM; Alfresco v4.2.4 & 5.0

      Description

      Description]:
      If you create a category with the Category Manager which compromises an ampersand, it won't be displayed correctly.
      The ampersand seems be double HTML encoded.

      [Steps to reproduce]:
      1) Login in to Share as admin
      2) Navigate to Admin Tools -> Category Manager
      3) Create a category with an "&"-sign in its name, e.g. "A & B"
      4.) Refresh page and check result

      [Expected Behaviour]:
      The category "A & B" is displayed in the Category Manager

      [Observed Behaviour]:
      The Category Manager displays the category as

      "A & B"
      

      encoding the ampersand character (see attached screenshot).

      [Analysis to date]:
      1.) It seems this display flaw only occurs in the Category Manager, all other category-views in Alfresco Share (e.g. the select categories form element) appear to display the newly created category correctly as "A & B".
      2.) Behaviour is reproducible on 4.2.x and 5.0.x

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                nkisa Nebil Kisa
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h

                    Structure Helper Panel