ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11736) RuntimeException in getPartyNameForDate service
Date Sat, 23 May 2020 18:07:00 GMT

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

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

Commit 3f9e37797ac19932ab1c5fa836e6d9819096c868 in ofbiz-framework's branch refs/heads/trunk
from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=3f9e377 ]

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

Mime
View raw message