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