Problem/Motivation

Once the rule entity is created, #3495141: Add custom field for alt text validation rules to settings form add a validator that will run all the rules against the submitted value.

acceptance criteria

  • do not perform validation if all validation is disabled
  • process all the rules and return all of the compiled error notices, so that is does not just show the first error
  • pass validation if only "warn" rules are triggered, but show a warning notification
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swirt created an issue. See original summary.

swirt’s picture

Issue summary: View changes
swirt’s picture

Version: » 1.0.x-dev
Parent issue: » #3498847: EPIC Validation of alt text on save
swirt’s picture

Assigned: Unassigned » swirt

  • swirt committed 4f7923da on 1.0.x
    #3495175 Add validation constraint.
    
swirt’s picture

Status: Active » Fixed

I am calling this functionally complete. The validation of Rules works. The messages need some UX improvement but the functionality works. This even has test coverage for the rules.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.