You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/05/11 11:56:19 UTC

svn commit: r1481281 - in /ofbiz/branches/release10.04: ./ applications/party/widget/partymgr/PartyForms.xml

Author: jleroux
Date: Sat May 11 09:56:19 2013
New Revision: 1481281

URL: http://svn.apache.org/r1481281
Log:
"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
------------------------------------------------------------------------

Modified:
    ofbiz/branches/release10.04/   (props changed)
    ofbiz/branches/release10.04/applications/party/widget/partymgr/PartyForms.xml

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

Modified: ofbiz/branches/release10.04/applications/party/widget/partymgr/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/party/widget/partymgr/PartyForms.xml?rev=1481281&r1=1481280&r2=1481281&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/branches/release10.04/applications/party/widget/partymgr/PartyForms.xml Sat May 11 09:56:19 2013
@@ -748,7 +748,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"/>
             </sub-hyperlink>