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

David E. Jones closed OFBIZ-1245.
---------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks for your work on this Adrian. Your changes are SVN rev 591241, just the 
framework_services patch. Based on a review I'm not sure if I like how all of 
the failureMessage stuff is handled, but that's not because of this patch. This 
does appear to be consistent with other places, and if it works, then great for 
now!

> 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
>             Fix For: SVN trunk
>
>         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.

Reply via email to