You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/05/23 17:49:00 UTC

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

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

Pawan Verma commented on OFBIZ-11736:
-------------------------------------

This is a valid issue since the conversion of PartyService from XML to Groovy.

In Groovy code we are fetching gender from *PartyNameHistory* entity and that entity doesn't have gender as a field.

In XML it was person.gender

The conversion was done under OFBIZ-11361.

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