Description
Condition type field can't display its stored value when its dependent field is missing from the view.
Saving the record while displaying in broken view deletes the stored value as well.
Steps to Reproduce
- Go to any sys_ui_policy record
2. Configure > Form Layout
3. Remove 'Table' field from the 'Default view' layout and Save
4. Make sure sys_ui_policy form is displayed in Advanced View. If not, click Advanced View from Related Links
5. Make sure there is a valid condition. If missing, add a simple condition (active IS true)
6. Click Default View from Related Links
Actual behavior: Conditions field can't display the saved condition. Condition can be seen in record's XML
Expected behavior: Conditions field displays the saved condition
7. Click Advanced View from Related Links (or just save the record)
Actual behavior: Conditions field loses its value. Condition cannot be seen in record's XML
Expected behavior: Conditions field displays the saved condition
Workaround
Add the dependent field of the Conditions-type field into the form layout
Related Problem: PRB1301577