You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org> on 2016/06/28 06:19:57 UTC

[jira] [Assigned] (OFBIZ-7599) Entered To Name is not getting stored when creating Party Invitation

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

Ashish Vijaywargiya reassigned OFBIZ-7599:
------------------------------------------

    Assignee: Ashish Vijaywargiya  (was: Ravi Lodhi)

> Entered To Name is not getting stored when creating Party Invitation
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-7599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Ravi Lodhi
>            Assignee: Ashish Vijaywargiya
>            Priority: Minor
>         Attachments: OFBIZ-7599_trunk.patch
>
>
> Steps to regenerate:
> 1) Go to party component.
> 2) Go to Invitation screen.
> 3) Create an invitation with the To Name field filled. 
> Name (firstName, middleName, lastName) from Person entity is saved instead of entered To Name.
> Code snippet from "createPartyInvitation" service used to create party invitation.
> {code}
> <if-not-empty field="parameters.partyId">
>             <entity-one entity-name="Person" value-field="person" auto-field-map="false">
>                 <field-map field-name="partyId" from-field="parameters.partyId"/>
>             </entity-one>
>             <set field="parameters.toName" value="${person.firstName} ${person.middleName} ${person.lastName}"/>
>         </if-not-empty>
> {code}
> Possible solution:
> 1) Remove "To Name" field from the Create form.
> OR
> 2) Remove that code snippet from the service which is setting toName.
> OR
> 3) Neither remove field from the form nor code snippet. If the toName is not passed from the UI then only used code snippet to set toName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)