|[CDO] Object is unexpectedly non-writable [message #1796263]
||Tue, 09 October 2018 11:42
| Robert Schulk
Registered: July 2015
We are using an older CDO version: 4.5.0|
In rare cases, we have a problem with write access to a resource.
This is basically what we do:
* A CDOTransaction adds/removes elements from a list (e.g. contents of a CDOResource)
* A CDOView (other session) monitors this list (in our case, the list is the input for an SWT Jface TableViewer)
Now, sometimes elements cannot be removed because they are not writable.
I.e.: element.cdoPermission().isWritable() == false
A write lock can be obtained without any problem, but the isWritable flag is still false:
=> The problem only applies to the session with the transaction. All other sessions see the element as writable.
=> Closing and reopening the transaction does not help.
=> We observed that the element may be writable again after a longer period of time (sometimes minutes, sometimes not for 1 hour).
=> If no view monitors the list, the problem does not happen.
Does anybody know what could be going on? Could a new CDO version potentially fix this problem? Unfortunately, we are not able to migrate to a newer version right away, but it would be an option for the future.
[Updated on: Tue, 09 October 2018 12:12]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02503 seconds