[
https://issues.apache.org/jira/browse/OFBIZ-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum updated OFBIZ-669:
------------------------------
Attachment: findParty.patch
On or around line 273 of findParty.ftl, there is some complicated if-else logic
to display a party name in the Name column of the Parties Found table. The
logic tests for partyRow.lastName and partyRow.groupName. Problem is, the
GenericValue being used doesn't contain those fields, so the program flow
always falls through to the line:
${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(partyRow, true)}
resulting in blank entries for parties with no names. I believe the intention
was to display "(No Name Found)" in those cases.
On top of that, one of the labels specified in this piece of code -
uiLabelMap.PartyNoNameFound - doesn't exist in the properties file.
The attached patch fixes this bug.
> Display bug in findParty.ftl
> ----------------------------
>
> Key: OFBIZ-669
> URL: https://issues.apache.org/jira/browse/OFBIZ-669
> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: party
> Reporter: Adrian Crum
> Priority: Minor
> Attachments: findParty.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.