Author: erwan
Date: Tue Jun 28 11:05:26 2011
New Revision: 1140520
URL:
http://svn.apache.org/viewvc?rev=1140520&view=revLog:
Correction on getProject when retrieving the parentProjectId and when editing a the parentProjectId from a project. Wrong parameter was used
Modified:
ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml
ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml?rev=1140520&r1=1140519&r2=1140520&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml Tue Jun 28 11:05:26 2011
@@ -705,7 +705,7 @@
<field-map field-name="statusId" from-field="project.currentStatusId"/>
</entity-one>
<set field="highInfo.createdDate" from-field="project.createdDate"/>
- <set field="highInfo.parentProjectId" from-field="parentProject.workEffortId"/>
+ <set field="highInfo.parentProjectId" from-field="project.workEffortParentId"/>
<!-- loop through the related phases and tasks -->
<get-related value-field="project" relation-name="ChildWorkEffort" list="phases"/>
<if-not-empty field="phases">
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=1140520&r1=1140519&r2=1140520&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Tue Jun 28 11:05:26 2011
@@ -72,7 +72,7 @@
</entity-options>
</drop-down>
</field>
- <field name="parentProjectName" parameter-name="workEffortParentId">
+ <field name="parentProjectName" parameter-name="parentProjectId">
<drop-down allow-empty="true">
<entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
<entity-constraint name="workEffortTypeId" value="PROJECT"/>