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 2019/10/01 17:32:54 UTC
svn commit: r1867851 - in /ofbiz/ofbiz-plugins/branches/release17.12: ./
ecommerce/minilang/customer/CustomerEvents.xml
Author: jleroux
Date: Tue Oct 1 17:32:54 2019
New Revision: 1867851
URL: http://svn.apache.org/viewvc?rev=1867851&view=rev
Log:
"Applied fix from plugins for revision: 1867849"
------------------------------------------------------------------------
r1867849 | jleroux | 2019-10-01 19:32:02 +0200 (mar. 01 oct. 2019) | 18 lignes
Fixed: Issue with "User name filed" while creating the new user
(OFBIZ-11226)
Steps to regenerate:
Open URL https://demo-trunk.ofbiz.apache.org
2. Click on the "Register" button for creating a new customer
3. Enter all the mandatory details for the registring a new customer
4. Enter the user name with a dot (.), for example: "demo.user"
5. Click on the "Save" button
Actual: Error message "Username can only have letters, digits and the _-
characters" is displaying on the screen.
Expected: Dot (.) should be also allowed in validation rules when we enter user
name manually with a dot (.)
Thanks: Vedansh Tiwari for report
------------------------------------------------------------------------
Modified:
ofbiz/ofbiz-plugins/branches/release17.12/ (props changed)
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/minilang/customer/CustomerEvents.xml
Propchange: ofbiz/ofbiz-plugins/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Oct 1 17:32:54 2019
@@ -11,4 +11,4 @@
/ofbiz/branches/multitenant20100310/plugins:921280-927264
/ofbiz/branches/release13.07/plugins:1547657
/ofbiz/ofbiz-framework/trunk:1836107
-/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249,1838381,1838797,1838816,1841650,1845558,1847272,1847346,1847398,1847528,1847530,1848009,1848396,1848398,1848921,1849119,1851002,1851068,1851135,1851185,1852988,1855082,1856802,1856917,1857120,1857173,1858141,1858244,1858285,1858312,1859012,1859735,1859893,1859906,1860648,1860801,1861824,1861904,1861986,1862466,1865347,1865398,1865828,1867712,1867717
+/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249,1838381,1838797,1838816,1841650,1845558,1847272,1847346,1847398,1847528,1847530,1848009,1848396,1848398,1848921,1849119,1851002,1851068,1851135,1851185,1852988,1855082,1856802,1856917,1857120,1857173,1858141,1858244,1858285,1858312,1859012,1859735,1859893,1859906,1860648,1860801,1861824,1861904,1861986,1862466,1865347,1865398,1865828,1867712,1867717,1867849
Modified: ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/minilang/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/minilang/customer/CustomerEvents.xml?rev=1867851&r1=1867850&r2=1867851&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/minilang/customer/CustomerEvents.xml (original)
+++ ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/minilang/customer/CustomerEvents.xml Tue Oct 1 17:32:54 2019
@@ -172,7 +172,7 @@ under the License.
<if>
<condition>
<not>
- <if-regexp field="parameters.USERNAME" expr="^[a-zA-Z0-9_-]+$"></if-regexp>
+ <if-regexp field="parameters.USERNAME" expr="^[.a-zA-Z0-9_-]+$"></if-regexp>
</not>
</condition>
<then>