Hi,
Thanks for your feedback.
About your fix : did you test this successfully ?
Because, i think, that cross sessions invalidation can not work with
simple Seam events.
So basically, invalidating trees in different Session (U1 and U2) would
mean having a communication channel : we had that in earlier versions,
but the code was removed because of other issues.
Tiry
[email protected] a écrit :
When two users are logged simulatenously in Nuxeo and one of them (lets say,
U1) creates folder,
then navigation tree of second user (U2) is not updated, so folder is invisible
for U2 (in navigation tree) until U2 generates an event (defined in reset()).
In folder content (documents_table.xhtml) all is working correct - this bug
affects
only navigation tree component.
Reason for this behavior is synchronization of cache of +tree+ in
+TreeActionsBean+.
Solution, I think, is to remove @BypassInterceptors from reset() method:
@Observer(value = { EventNames.GO_HOME,
EventNames.DOMAIN_SELECTION_CHANGED, EventNames.DOCUMENT_CHANGED,
EventNames.DOCUMENT_SECURITY_CHANGED,
EventNames.DOCUMENT_CHILDREN_CHANGED }, create = false)
// -...@bypassinterceptors--
public void reset() {
tree = null;
resetCurrentDocumentData();
}
--
Posted by "plamen" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2379#6394>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm