joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[4.1] Workflow Plugin - Custom Field Validation

Open david0296 opened this issue 5 years ago • 3 comments

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

  1. Create Custom Fields
  2. Create an Article
  3. 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

david0296 avatar Aug 29 '20 18:08 david0296

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.

KingLouis1 avatar Apr 30 '21 13:04 KingLouis1

This pull request has automatically rebased to 4.2-dev.

HLeithner avatar Jun 27 '22 13:06 HLeithner

This pull requests has been automatically converted to the PSR-12 coding standard.

joomla-bot avatar Jun 27 '22 21:06 joomla-bot

Closing this PR because of inactivity for a longer time.

rdeutz avatar Oct 21 '22 10:10 rdeutz