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

Reply via email to