svn commit: r1752952 - in /ofbiz/trunk/applications: content/servicedef/services_content.xml party/widget/partymgr/PartyForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1752952 - in /ofbiz/trunk/applications: content/servicedef/services_content.xml party/widget/partymgr/PartyForms.xml

ashish-18
Author: ashish
Date: Sat Jul 16 13:04:34 2016
New Revision: 1752952

URL: http://svn.apache.org/viewvc?rev=1752952&view=rev
Log:
Applied patch from jira issue - OFBIZ-7612 - Party content in party component is not getting updated.
Thanks Ravi for the contribution.

Modified:
    ofbiz/trunk/applications/content/servicedef/services_content.xml
    ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml

Modified: ofbiz/trunk/applications/content/servicedef/services_content.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_content.xml?rev=1752952&r1=1752951&r2=1752952&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services_content.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services_content.xml Sat Jul 16 13:04:34 2016
@@ -107,6 +107,7 @@
             <invoke name="updateDataResource" parameters="preserve" result-to-context="true"/>
             <invoke name="attachUploadToDataResource" parameters="preserve" result-to-context="true"/>
             <invoke name="updatePartyContent"/>
+            <invoke name="updateContent"/>
         </group>
     </service>
 

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml?rev=1752952&r1=1752951&r2=1752952&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml Sat Jul 16 13:04:34 2016
@@ -755,13 +755,8 @@ under the License.
         <field name="partyId" map-name="parameters"><hidden/></field>
         <field name="dataResourceId" map-name="dataResource" use-when="content!=null"><hidden/></field>
         <field use-when="content!=null" name="contentId"><display/></field>
-        <field name="partyContentTypeId" use-when="partyContent!=null">
-            <drop-down allow-empty="false">
-                <entity-options entity-name="PartyContentType">
-                    <entity-constraint name="partyContentTypeId" value="${partyContent.partyContentTypeId}"/>
-                </entity-options>
-                <entity-options entity-name="PartyContentType"/>
-            </drop-down>
+        <field name="partyContentTypeId" use-when="partyContent!=null" map-name="partyContent">
+            <display-entity entity-name="PartyContentType"/>
         </field>
         <field name="partyContentTypeId" use-when="partyContent==null">
             <drop-down allow-empty="false">