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

ListOfValuesConstraint doesn't function properly when value has spaces at the end and/or start

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.1.2
    • Component/s: Content Modelling
    • Labels:
    • Environment:
       Alfresco Enterprise v5.1.1 (r125516-b55) schema 9029

      Description

      Preconditions:
      1. Go to Admin Tools -> Model Manager and create a new model
      2. For the new Model, create a Custom Type.
      3. For the new Custom Type, create a Property and set on Constraint: field, List of Values item; on List of Values: section add values that contain spaces at the end / start.
      4. For the new Custom Type, add in the Layout Designer, the created Property.
      5. Activate the model.

      Steps to reproduce:

      S1. Login to Share as admin and create a site.
      S2. Create any document and open document description.
      S3. Click on Change Type and choose the created Type.
      S4. On the created Type property, pick one of the values

      Actual Result: The changes are not saved - see the attachment.

      Expected Result: The changes are saved.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                czaharia Corina Zaharia [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 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 - 1 day, 5 hours
                  1d 5h

                    Structure Helper Panel