Support Article
The cover open count is incorrect; it is -1
SA-34516
Summary
An error is displayed when trying to resolve a work object.
Error Messages
The cover open count is incorrect; it is -1
Steps to Reproduce
Resolve a work object.
Root Cause
When a work object is re-opened, the pxCoveredCountOpen is set to 0 by the UnresolvedWorkInACover list view even though there are open covered objects. This occurs because the parent class and the child class belong to different class groups. Hence, the data is stored in different database tables. The list view was designed to be used with classes belonging to the same work pool so the query is not running against the correct database table in this scenario.
Resolution
Perform the following local-change:
Replace getContent activity in the UnresolvedWorkInACover list view to use a custom activity that runs a union query among the work tables configured for the application.
Published March 14, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.