In listview, mass update did not filter the child list based on the parent list. This allowed selecting items from the child list without first selecting an item from the parent list, which could lead to incorrect associations.
Motivation and Context
Dynamic dropdown was no working in massupdate.
In Cases module, the "State" field had parentenum, a property of dynamicenums. Moreover, a change has been made to make dynamic dropdown work properly in this module.
How To Test This
Go to Administration and generate a dropdown, and an associated dynamic dropdown.
Execute Mass Update action and modify the fields of the created dropdown and dynamic dropdown.
Verify that the child list is filtered based on the value of the parent list.
Check that in the edit view, the dynamic dropdowns are filtered properly.
Go to Cases and verify that "State" filters "Status".
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Final checklist
[x] My code follows the code style of this project found here.
[ ] My change requires a change to the documentation.
Description
In listview, mass update did not filter the child list based on the parent list. This allowed selecting items from the child list without first selecting an item from the parent list, which could lead to incorrect associations.
Motivation and Context
Dynamic dropdown was no working in massupdate. In Cases module, the "State" field had
parentenum
, a property of dynamicenums. Moreover, a change has been made to make dynamic dropdown work properly in this module.How To Test This
Types of changes
Final checklist