NXRuntimeTestCase: deployContrib problem with secondary resources
-----------------------------------------------------------------
Key: NXP-1643
URL: http://jira.nuxeo.org/browse/NXP-1643
Project: Nuxeo Enterprise Platform 5
Issue Type: Bug
Affects Versions: 5.1.2, 5.2 M1
Reporter: Georges Racinet
Assignee: Thierry Delprat
An example will be clearer than explanation:
deployContrib("nuxeo-core", "CoreExtensions.xml") might load file.xsd from
elsewhere than from the nuxeo-core bundle.
This is because deployContrib does not set the runtime context. Therefore it
corresponds to the previously fully deployed bundle (done, e.g, with
deployBundle()). file.xsd will therefore be loaded from the latter if possible
and if not from anywhere on the classpath (fallback in TypeService).
This might lead to weird quantum bugs in the continuous build system
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets