[
http://jira.nuxeo.org/browse/NXP-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30549
]
Dragos Ivan commented on NXP-1821:
----------------------------------
The incriminated code is:
if (docType.equals("Domain")) {
setCurrentDomain(currentDocument);
setCurrentContentRoot(null);
setCurrentWorkspace(null);
} else if (docType.equals("WorkspaceRoot")
|| docType.equals("SectionRoot")) {
setCurrentContentRoot(currentDocument);
setCurrentWorkspace(null);
} else if (docType.equals("Workspace")) {
setCurrentWorkspace(currentDocument);
}
but there are other places in the method with this kind of hardcoding...
> Document types hardcoding in NavigationContext
> ----------------------------------------------
>
> Key: NXP-1821
> URL: http://jira.nuxeo.org/browse/NXP-1821
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Affects Versions: 5.1.3
> Reporter: Dragos Ivan
> Assignee: Thierry Delprat
> Priority: Major
> Fix For: 5.1.3
>
>
> There are some document types hardcoding in
> navigationContextBean.updateContextVariables(), for Domain, WorkspaceRoot,
> SectionRoot, Workspace and Section. This is preventing any customization of
> these document types (meaning adding new Domain types, etc.).
--
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