[
https://jira.nuxeo.org/browse/NXP-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mathieu Guillaume updated NXP-4628:
-----------------------------------
Reporter: Mathieu Guillaume (was: Ian Smith)
> MultipleDomainsPerspectiveNegociator is computing the number of domains too
> frequently
> --------------------------------------------------------------------------------------
>
> Key: NXP-4628
> URL: https://jira.nuxeo.org/browse/NXP-4628
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Affects Versions: 5.3 GA
> Reporter: Mathieu Guillaume
>
> Investigation has revealed that MultipleDomainsPerspectiveNegotiator is
> computing the number of domains on each page view (except when using the
> theme editor).
> The call
> List<DocumentModel> availableDomains = (List)
> Component.getInstance("availableDomains");
> forces the creation of a seam component. The component in question is
> DashboardActionsBean and it should be outjecting the result like this
> @Factory(value = "availableDomains", scope = ScopeType.EVENT)
> except into a larger scope (such as conversation or application).
> Since domains can be created by users, this implies that the create domain
> code will have to explicitly invalidate the outjected value so that it can be
> recomputed on the next page view. However, this is rare, so the outjection
> seems justified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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