I have a PHP field validation on a select list on a content type.. Saving and editing the content type all works perfectly..

I have a view with a VBO bulk operation that is used to modify entity values but not used to modify the field with the validation..

When I try and update content using the VBO action on the view the validation is triggering even though the node being changed does infact pass the validation check as the field is correctly populated..

Any ideas?

Comments

johnbowen’s picture

I'm experiencing the same thing. A Required Field (in Field Validation) is preventing VBO from making updates to kits via the view. Drupal 7.43, Field Validation 7.x-2.6

potassiumchloride’s picture

Version: 7.x-2.4 » 7.x-2.6

I can confirm this is still a problem in the most recent release of Field Validation. It is not possible to use VBO to edit content that has fields being validated with Field Validation.

Set up field validation for a field (testfield).
Create a view. Add VBO functionality.
Use "Modify entity values" and try to edit a field that is not testfield.
Result? Field validation error message.

Views 7.x-3.14
Views Bulk Operations 7.x-3.3
Field Validation 7.x-2.6

Tested these methods:
Added the testfield to the view just in case that mattered, both as visible and as hidden.
Added the testfield as one of the fields that can be edited by VBO.
None of these had any effect.

Should this be a VBO issue? Please advise.