Declare Index does not delete data from index table
You have a Declare Index rule that does not delete data from the index table if a Page is removed from the related Page List.
Adding a Page works fine and inserts an entry to the index table.
Steps to Reproduce
- Create a Declare Index rule in Class A (which should not be the Class of the top-level Page at run time) for the source Page context of Class B.
- At runtime remove a Page from the Page List of Class B.
- Review the table that the Declare Index points to.
A software use or operation error whereby the Declare Index rule is created in Class A, but the removal of Pages from the Page List is done when the top-level Page is of Class C. That difference in Class results in the indexes not being deleted.
Perform the following local-change:
Save As (Copy) the Declare Index rule in a top-level page of Class C with the source Page context Class as B. Then whenever the pyWorkPage is saved, the corresponding indices will be updated.
80% found this useful