[jira] [Commented] (OFBIZ-11736) RuntimeException in getPartyNameForDate service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11736) RuntimeException in getPartyNameForDate service

Nicolas Malin (Jira)

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

ASF subversion and git services commented on OFBIZ-11736:
---------------------------------------------------------

Commit c759ccd50ae1fbacafc2d517b004f503e650f035 in ofbiz-framework's branch refs/heads/ecomify-OFBIZ-11468_Convert_ShipmentReceiptServices-squashed from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c759ccd ]

Fixed: RuntimeException in getPartyNameForDate service for partyNameHistory.gender field(OFBIZ-11736)

The reason for this issue is code is trying to get the gender of person from partyNameHistory record and gender is not a field in partyNameHistory entity. During conversion we minimized duplicate code which caused that issue.

I've added a check to avoid checking gender in partyNameHistory record.


> RuntimeException in getPartyNameForDate service
> -----------------------------------------------
>
>                 Key: OFBIZ-11736
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11736
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>            Assignee: Pawan Verma
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> We are getting this error on FindORder and findInvoice screen:
> Error running Groovy method [getPartyNameForDate] in Groovy file [component://party/groovyScripts/party/PartyServices.groovy]: (The field name (or key) [gender] is not valid for entity [PartyNameHistory].) (Error running Groovy method [getPartyNameForDate] in Groovy file



--
This message was sent by Atlassian Jira
(v8.3.4#803005)