Author: jleroux
Date: Fri Jan 19 10:33:05 2018
New Revision: 1821613

URL: http://svn.apache.org/viewvc?rev=1821613&view=rev
Log:
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/Events
2) 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/trunk/applications/workeffort/widget/WorkEffortRequirementForms.xml

Modified: 
ofbiz/ofbiz-framework/trunk/applications/workeffort/widget/WorkEffortRequirementForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/widget/WorkEffortRequirementForms.xml?rev=1821613&r1=1821612&r2=1821613&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/workeffort/widget/WorkEffortRequirementForms.xml
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/workeffort/widget/WorkEffortRequirementForms.xml
 Fri Jan 19 10:33:05 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">


Reply via email to