Declare expression filed becoming editable on layout refresh
Declare expression target property is becoming editable on respective layout refresh.
User has configured two dynamic layouts in a section, on change property1 in layout1 refreshing the layout2.
In layout2, user has configured a declare expression for one property. Initially the target property is displaying as readonly, however when property1 value is changed in layout1, layout2 is getting refreshed and declare expression field becoming as editable.
No error message
Steps to Reproduce
1. Configure a dynamic layout with one property.
2. Configure another dynamic layout with some properties and also configured the declare expression for one of the property.
3. For layout2, add refresh condition as property changes(property in layout1)
A defect in Pegasystems’ code or rules : pzGenerateSimpleLayoutHTML RUF
When dynamic layout is configured with Refresh When, all the declare expressions are not being added into Map.
Because of this when' refresh when' happens this map returns null and it becomes editable
Perform the following local-change:
Set edit options as read-only always in presentation tab in cell properties panel for the property.
0% found this useful