EclWatch re-protecting (marking file protected) multiple times
Description
Esp is calling DFS::setProtect and increasing the protected count (and adding a new user if different) automatically, apparently for no reason.
I reproduced the problem by protecting a file, then closing the detail view and reopening it. On inspection of the file (with daliadmin dfsfile), you can see the count has increased. Alternatively, if you look at a file protected by another user, Esp is automatically adding a protect status for your user when you view it.
I captured the stack in Esp when this happens:
Conclusion
None
Activity
Show:
Kanghua Wang July 23, 2019 at 8:07 PM
We may clean the 'Protect' flag as soon as the DFUInfo (auto save) response is handled.
Jacob Cobbett-Smith July 9, 2019 at 9:29 AM
- can you investigate further please?
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Esp is calling DFS::setProtect and increasing the protected count (and adding a new user if different) automatically, apparently for no reason.
I reproduced the problem by protecting a file, then closing the detail view and reopening it.
On inspection of the file (with daliadmin dfsfile), you can see the count has increased.
Alternatively, if you look at a file protected by another user, Esp is automatically adding a protect status for your user when you view it.
I captured the stack in Esp when this happens: