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

Share rule constraints missing due to ActionExecuterAbstractBase's regression

    Details

      Description

      ActionExecutersAbstractBase's getDefinition method was changed due to MNT-6350 so that it would call getLocalizedParameterDefiintions instead of the non localized getParameterDefinitions.

      But getLocalizedParameterDefinitions is not building the parameter definition with the constructor that takes also the parameter's constraint so this information is being lost for localized definitions.

      That means that when Alfresco Share calls /api/actiondefinitions in the rules creation page it will not receive the constraints and due to that the parameters customizations won't work.

      Easy way to test it:

      • Change your browser language to one of alfresco's supported language. (It must be a language different to the base language.)
      • Go to Alfresco Share and try to create a rule
      • In the actions area choose "Add aspect",

      Expected result: A combobox should be create to choose the aspect
      Actual result: A textbox is shown because the constraint data is lost in the localization process.

      It used to work in Alfresco 5.0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                iblanco Igor Blanco
              • 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 - 3 days, 3 hours, 30 minutes
                  3d 3h 30m