By joachim on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-1.x
Introduced in version:
7.x-1.2
Issue links:
Description:
The keys of operations declared to VBO by Entity Operations have had to be changed.
This is because the entity type wasn't a part of the key, and so if several entity types declared the same operation to VBO, the same key was used, thus the last entity type was overwriting the operation provided by the earlier entity types.
Views using VBO operations defined by entity operations will have to be rebuilt.
If views are stored in code (with Features, say), then experienced users should be able to edit these manually. The relevant change is:
- $new_operation_id = 'entity_operation::' . $key;
+ $new_operation_id = implode('::', array('entity_operation', $entity_type, $key));
Thus the string 'entity_operation::KEY' in the list of VBO operations in use on the view should be changed to 'entity_operation::ENTITY_TYPE::KEY'.
Impacts:
Site builders, administrators, editors