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 2017/04/16 20:58:21 UTC

svn commit: r1791635 - in /ofbiz/branches/release16.11: ./ applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml

Author: jleroux
Date: Sun Apr 16 20:58:20 2017
New Revision: 1791635

URL: http://svn.apache.org/viewvc?rev=1791635&view=rev
Log:
"Applied fix from trunk framework for revision: 1791634  " 
------------------------------------------------------------------------
r1791634 | jleroux | 2017-04-16 22:56:52 +0200 (dim. 16 avr. 2017) | 17 lignes

Fixed: Routing should not be allow to update with empty routing name
(OFBIZ-7375)

Steps to regenerate -
1) Navigate to manufacturing -> Routing
2) Press New Routing button.
3) Try to create a routing without entering Routing Name. It will not allowed to 
   create the record as routing name is mandatory field.
4) Create routing by adding proper details.

5) Now, select newly create routing from manufacturing -> Routing
6) Try to update selected routing with empty Routing Name.

Actual   : Routing can be update with empty Routing Name.
Expected : Routing should not allow to update with empty Routing Name.

Thanks: Ankit Joshi for analysis and patch
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release16.11/   (props changed)
    ofbiz/branches/release16.11/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml

Propchange: ofbiz/branches/release16.11/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Apr 16 20:58:20 2017
@@ -10,5 +10,5 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/ofbiz-framework/trunk:1783202,1783388,1784549,1784558,1784708,1785882,1785925,1786079,1786214,1786525,1787047,1787133,1787176,1787535,1787906-1787911,1787949,1789665,1789863,1789874,1790810,1791277,1791288,1791342,1791346,1791490,1791496,1791625
+/ofbiz/ofbiz-framework/trunk:1783202,1783388,1784549,1784558,1784708,1785882,1785925,1786079,1786214,1786525,1787047,1787133,1787176,1787535,1787906-1787911,1787949,1789665,1789863,1789874,1790810,1791277,1791288,1791342,1791346,1791490,1791496,1791625,1791634
 /ofbiz/trunk:1770481,1770490,1770540,1771440,1771448,1771516,1771935,1772346,1772880,1774772,1775441,1779724,1780659,1781109,1781125,1781979,1782498,1782520

Modified: ofbiz/branches/release16.11/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml?rev=1791635&r1=1791634&r2=1791635&view=diff
==============================================================================
--- ofbiz/branches/release16.11/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml (original)
+++ ofbiz/branches/release16.11/applications/manufacturing/widget/manufacturing/RoutingTaskForms.xml Sun Apr 16 20:58:20 2017
@@ -66,7 +66,7 @@ under the License.
         <alt-target use-when="routing==null" target="CreateRouting"/>
         <field name="workEffortTypeId" use-when="routing==null"><hidden value="ROUTING"/></field>
         <field name="workEffortId" use-when="routing!=null"><hidden/></field>
-        <field name="workEffortName" title="${uiLabelMap.ManufacturingRoutingName}"><text/></field>
+        <field name="workEffortName" title="${uiLabelMap.ManufacturingRoutingName}" required-field="true"><text/></field>
         <field name="description"><text/></field>
         <field name="quantityToProduce" title="${uiLabelMap.ManufacturingQuantityToProduce}"><text/></field>
         <field name="currentStatusId">