joomla-cms
joomla-cms copied to clipboard
[4.1] Workflow Plugin - Custom Field Validation
Pull Request for Issue # .
Summary of Changes
Adds new options to transition settings to set custom fields as "required", "has to be blank", "should (not) contain a specific value"
Testing Instructions
- Create Custom Fields
- Create an Article
- Check if you recieve an error message when:
- A field is set as required but is blank
- A field is set as "must be blank" but is filled
- A field should contain a set value but doesn't
- A field should not contain a specific value but does
I have tested this item :red_circle: unsuccessfully on 7ab0362e1a2b26f686c2a63a29288d5edbc31fbc
Joomla Version: Joomla! 4.0.0-beta8-dev Development [ Mañana ] 2-February-2021 20:02 GMT
Test tried as described.
Steps 1-3 performed.
Result:
A field is set as required but is blank: Error message generated with and without patch.
Next three points not checked as not possible to find the necessary settings in the fields mask (not found how to set "must be blank" (text field), set values not deleteable (integer field), no "not specific value" could not be entered.
As not all conditions could be checked either with and without patch, test marked as failed.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30514.
This pull request has automatically rebased to 4.2-dev.
This pull requests has been automatically converted to the PSR-12 coding standard.
Closing this PR because of inactivity for a longer time.