Author: jleroux
Date: Fri Jan 19 10:34:38 2018
New Revision: 1821615
URL:
http://svn.apache.org/viewvc?rev=1821615&view=revLog:
"Applied fix from trunk for revision: 1821613 "
------------------------------------------------------------------------
r1821613 | jleroux | 2018-01-19 11:33:05 +0100 (ven., 19 janv. 2018) | 15 lines
Fixed: Not able to add the requirement,broken screen with the error message in
workeffort component
(OFBIZ-10122)
Steps to regenerate:
1) Open URL
https://demo-trunk.ofbiz.apache.org/sfa/control/Events2) Click on the event created.
3) To add the requirements of events, click on the "Requirements" button.
4) Add the existing requirement Id or add a new requirement. Click on Save.
Actual: Not able to add the requirement. Broken screen with the error message.
Note: Refer the screenshot attached.
Thanks: Rubia Elza Joshep for report and Yogesh Naroliya for the patch
------------------------------------------------------------------------
Modified:
ofbiz/ofbiz-framework/branches/release17.12/ (props changed)
ofbiz/ofbiz-framework/branches/release17.12/applications/workeffort/widget/WorkEffortRequirementForms.xml
Propchange: ofbiz/ofbiz-framework/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jan 19 10:34:38 2018
@@ -10,4 +10,4 @@
/ofbiz/branches/json-integration-refactoring:1634077-1635900
/ofbiz/branches/multitenant20100310:921280-927264
/ofbiz/branches/release13.07:1547657
-/ofbiz/ofbiz-framework/trunk:1819499,1819598,1819800,1819805,1819811,1820038,1820262,1820374-1820375,1820441,1820457,1820644,1820658,1820790,1820823,1820949,1820966,1821012,1821036,1821112,1821115,1821144,1821186,1821219,1821226,1821230,1821386
+/ofbiz/ofbiz-framework/trunk:1819499,1819598,1819800,1819805,1819811,1820038,1820262,1820374-1820375,1820441,1820457,1820644,1820658,1820790,1820823,1820949,1820966,1821012,1821036,1821112,1821115,1821144,1821186,1821219,1821226,1821230,1821386,1821613
Modified: ofbiz/ofbiz-framework/branches/release17.12/applications/workeffort/widget/WorkEffortRequirementForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release17.12/applications/workeffort/widget/WorkEffortRequirementForms.xml?rev=1821615&r1=1821614&r2=1821615&view=diff==============================================================================
--- ofbiz/ofbiz-framework/branches/release17.12/applications/workeffort/widget/WorkEffortRequirementForms.xml (original)
+++ ofbiz/ofbiz-framework/branches/release17.12/applications/workeffort/widget/WorkEffortRequirementForms.xml Fri Jan 19 10:34:38 2018
@@ -46,6 +46,7 @@ under the License.
</form>
<form name="AddWorkEffortRequirement" default-map-name="workRequirementFulfillment" target="createWorkEffortRequirement" title="" type="single" extends="EditRequirement"
extends-resource="component://order/widget/ordermgr/RequirementForms.xml" header-row-style="header-row" default-table-style="basic-table">
+ <alt-target use-when="workEffortId!=null" target="createWorkEffortRequirement"/>
<field name="workEffortId"><hidden/></field>
<field name="requirementId"><lookup target-form-name="LookupRequirement"/></field>
<field name="workReqFulfTypeId">