[ 
https://jira.nuxeo.org/browse/NXP-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathieu Guillaume updated NXP-4244:
-----------------------------------

    Reporter: Mathieu Guillaume  (was: Ian Smith)

> JbpmService should be careful about it's return values
> ------------------------------------------------------
>
>                 Key: NXP-4244
>                 URL: https://jira.nuxeo.org/browse/NXP-4244
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>            Reporter: Mathieu Guillaume
>            Assignee: Thierry Delprat
>
> Currently JbpmService returns objects to the caller that may not be fully 
> loaded (hibernate).  This means that for a caller to work correctly, it must 
> create a new JbpmContext to fetch any objects that are lazy and not in memory 
> yet.  This implies, typcially, COPYING the code from the JbpmService.
> JbpmService is documented to note that this can occur, but this is not a 
> solution.  A correct solution should be one that either forces calls to 
> JbpmService to do so in the correct context (so the caller deals with the 
> problem) or one in which JbpmService never gives back "half baked" objects to 
> the caller.

-- 
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

Reply via email to