Obj-Delete methods truncates the pzInsKey and deletion fails
Unable to delete a row in a data table. This was notices by the tracer in the out-of-the-box @baseclass. The Delete activity, when the Obj-Delete method step ends the pzInsKey of the selected row, is truncated. Hence, deletion fails.
Steps to Reproduce
- Create a Data Table.
- Add some rows of records.
- From the Edit List rule remove the Key property.
- Delete a row from the out-of-the-box list editor button.
- Watch the tracer for the Obj-Delete step.
The class key property was removed from the Edit List rule of the Data Table (Data class). It does not appear during the Append of the table records, and is not entered manually.
Thus, the class key property does not appear in the Clipboard when record deletion is performed. The Obj-Delete method constructs the pzInsKey on the fly by appending the pxObjClass and the class key property. It failed because the mentioned key property was not in the page.
This displayed an incomplete pzInsKey during this method execution.
Include the class key property in the Edit List rule of the concerned Data class.
0% found this useful