svn commit: r1858355 - /ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd

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

svn commit: r1858355 - /ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd

jleroux@apache.org
Author: jleroux
Date: Mon Apr 29 09:55:56 2019
New Revision: 1858355

URL: http://svn.apache.org/viewvc?rev=1858355&view=rev
Log:
Improved: Similar values reflecting twice on Add Action Type dropdown in Pricerule
(OFBIZ-10660)

Steps to Regenerate
1. Open /catalog/control/createProductPriceCond
2. Add the name for a new Price Rule
3. Add Condition and go to Add Action panel
4. Check the dropdown values under Action Type

*Actual: *
Same value reflecting twice in the dropdown ( Flat Amount Modify)
The Image is attached in Jira for reference

Thanks: Archana Asthana for report Prakhar Kumar for the fix

Modified:
    ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd

Modified: ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd?rev=1858355&r1=1858354&r2=1858355&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd (original)
+++ ofbiz/ofbiz-framework/trunk/framework/widget/dtd/widget-form.xsd Mon Apr 29 09:55:56 2019
@@ -1048,7 +1048,7 @@ under the License.
             </xs:sequence>
             <xs:attribute name="allow-empty" type="xs:boolean" default="false"/>
             <xs:attribute name="allow-multiple" type="xs:boolean" default="false"/>
-            <xs:attribute name="current" default="first-in-list">
+            <xs:attribute name="current" default="selected">
                 <xs:simpleType>
                     <xs:restriction base="xs:token">
                         <xs:enumeration value="first-in-list" />