Problem/Motivation
$violations = $entity->validate();
If other parts of the entity are invalid -- this can happen with migrated entities! Or if constraints are added to existing data -- then the violations will cause getNextStateName() to say the next state is not reachable.
Steps to reproduce
Proposed resolution
Validate just the field.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork action_link-3564012
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
Comment #3
nakaza sora commentedComment #5
nakaza sora commentedI have created a merge request.
Could you please review the merge request when you have time?
Thank you!
Comment #7
joachim commentedPerfect, thanks!
And documentation comments too -- great! :)