easysoa / EasySOA

A light, collaborative platform to make Service Oriented Architecture simple.
http://www.easysoa.org
35 stars 8 forks source link

After nuxeo 5.7.1 upgrade, created document model can't be found in NXQL #135

Open mdutoo opened 10 years ago

mdutoo commented 10 years ago

Once having upgraded to Nuxeo 5.7.1 on 20130708, DocumentServiceTest.testModelCreation() got broken in the process, which had been until now perfectly working.

It first calls a business method that does a createDocument() and a save() (maybe some more stuff like listeners setting properties or moving it), then tries to find it using an NXQL query on a business id property, which fails.

WORKAROUND However, doing an NXQL query on its ecm:uuid technical id succeeds in returning it, and subsequent queries done on said business id then do work. And as far as I can tell, there's no hidden exception been thrown in between.

This smells some caching problem (in VCS ??)...

UPDATE 20130718 works again without workaround and with no further upgrade (??)