ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r1481276 - in /ofbiz/branches/release12.04: ./ applications/party/widget/partymgr/PartyForms.xml
Date Sat, 11 May 2013 09:09:26 GMT
Author: jleroux
Date: Sat May 11 09:09:26 2013
New Revision: 1481276

URL: http://svn.apache.org/r1481276
"Applied fix from trunk for revision: 1481274" 
r1481274 | jleroux | 2013-05-11 10:52:25 +0200 (sam., 11 mai 2013) | 14 lines

Fix "Name in List Related Contacts form doesn't get updated" reported by Karl Beecher at https://issues.apache.org/jira/browse/OFBIZ-5192

If a person is set as a related contact for a party, updates to their name are not immediately
displayed by the ListRelatedContacts form.

To reproduce (with OFBiz demo data):
* In the Party Manager, go to the profile page of DemoSupplier (they have a related contact
called 'Peter Manager'
* Follow the link to Peter Manager's profile page.
* Click Update and change the name (e.g. to 'Peter Manageress')
* Save
* Return to DemoSupplier's profile page. Observe that the name of the related contact is still
'Peter Manager'. Refreshing doesn't change that.
* Restart OFBiz
* Refreshing the profile page now displays the updated name.

jleroux: to test in trunk I used company and scrum employee

    ofbiz/branches/release12.04/   (props changed)

Propchange: ofbiz/branches/release12.04/
  Merged /ofbiz/trunk:r1470176,1481274

Modified: ofbiz/branches/release12.04/applications/party/widget/partymgr/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/party/widget/partymgr/PartyForms.xml?rev=1481276&r1=1481275&r2=1481276&view=diff
--- ofbiz/branches/release12.04/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/branches/release12.04/applications/party/widget/partymgr/PartyForms.xml Sat May
11 09:09:26 2013
@@ -771,7 +771,7 @@ under the License.
     <form name="ListRelatedContacts" type="list" list-name="contacts" default-table-style="basic-table">
         <field name="partyIdTo">
-            <display-entity entity-name="PartyNameView" description="${firstName} ${middleName}
${lastName} ${groupName}" key-field-name="partyId">
+            <display-entity entity-name="PartyNameView" description="${firstName} ${middleName}
${lastName} ${groupName}" key-field-name="partyId" cache="false">
                 <sub-hyperlink description="[${partyIdTo}]" target="viewprofile">
                 <parameter param-name="partyId" from-field="partyIdTo"/>

View raw message