Login  Register

[jira] Commented: (OFBIZ-1245) Service Engine inconsistent in handling fail results

Posted by Nicolas Malin (Jira) on Oct 31, 2007; 4:29pm
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-1245-Service-Engine-inconsistent-in-handling-fail-results-tp183697p183700.html


    [ https://issues.apache.org/jira/browse/OFBIZ-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539096 ]

Adrian Crum commented on OFBIZ-1245:
------------------------------------

David,

I'm not sure if you're aware of this, but this patch needs to be committed to complete the permission service ECA work.

Once this is committed, I'll update the Asset Maintenance component  and then create a Wiki document on how to use permission services.


> Service Engine inconsistent in handling fail results
> ----------------------------------------------------
>
>                 Key: OFBIZ-1245
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1245
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Adrian Crum
>            Assignee: David E. Jones
>            Priority: Minor
>         Attachments: asset_maint.patch, asset_maint.patch, framework_service.patch, framework_service.patch, framework_service.patch, framework_service.patch
>
>
> Services can indicate failure with a ModelService.RESPOND_FAIL response or by putting a failMessage element in the result Map. The service engine is inconsistent in checking for a failure - sometimes it checks for ModelService.RESPOND_FAIL and sometimes it checks for the failMessage element in the result Map. This can lead to unpredictable results when working with services that return failure.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.