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

Datalist displays cm:category noderef instead of name

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2
    • Component/s: Data Lists
    • Labels:
      None
    • Environment:
      Alfresco 5.0.1

      Description

      [ Problem ]
      When creating a DataList with a column holding a d:category, the node ref is displayed in share instead of the value of the category

      [ Description ]
      When adding a column to a custom datalist of type d:category, any subsequent categories selected display as the noderef for that category

      [ Steps to reproduce ]
      1. Install Alfresco (5.0.1)
      2. Place the attached model & context files into the ~\alfresco\extension ('supportCaseModel.xml' & 'supportCase-context.xml')
      3. Paste the contents of the attached 'supportCaseShareConfig.xml' into the ~\alfresco\web-extension\share-config-custom.xml
      4. Start Alfresco and create a site with Datalists
      5. Create a new datalist 'Subject Matter Expert List' and add a row setting 'Therapeutic Area' with one or more categories
      6. Fill in the rest of the options on the datalist and click save

      Expected Behavior
      If a property of type d:category is in the datalist the underlying script to populate the datalist should recognize this and perform an additional step to retrieve the names of the categories attached

      Observer Behavior
      Datalists containing a property of d:category show the noderefs for the categories selected.

      Currently unable to see if category nodes are in fact supported in a datalist or whether we've ever handled them before.
      Unsure if modifying evaluator.lib.js and adding a new case to datagrid.js for cm:category might be an idea, i.e.
      case "cm:category":
      ....
      break;

        Attachments

        1. category as noderef.PNG
          category as noderef.PNG
          18 kB
        2. fix103765.jpg
          fix103765.jpg
          125 kB
        3. supportCase-context.xml
          0.5 kB
        4. supportCaseModel.xml
          5 kB
        5. supportCaseShareConfig.xml
          2 kB

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                astrachan Alex Strachan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 2 days, 6 hours
                  2d 6h

                    Structure Helper Panel