[
http://jira.nuxeo.org/browse/WEB-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bogdan Stefanescu updated WEB-275:
----------------------------------
Affects Version/s: 1.1
Priority: Major (was: Minor)
> Resolution of WebAdpater in module containing 2 WebAdapter with the same name
> not correct
> -----------------------------------------------------------------------------------------
>
> Key: WEB-275
> URL: http://jira.nuxeo.org/browse/WEB-275
> Project: Nuxeo Web Engine
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Benjamin Jalon
> Assignee: Bogdan Stefanescu
> Priority: Major
>
> I create 2 webadapters in my module with same name but different targetType.
> Only one adapter is managed.
> In org.nuxeo.ecm.webengine.model.impl.TypeRegistry store in :
> protected final Map<String, AdapterType> adapters
> all the adapters of the module with the name for the key.
> For the adapter resolution this method is called :
> public AdapterType getAdapter(Resource target, String name) {
> AdapterType adapter = adapters.get(name);
> if (adapter != null && adapter.acceptResource(target)) {
> return adapter;
> }
> return null;
> }
--
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