Skip to content

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

@mdutoo

Description

@mdutoo

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 (??)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions