Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025087Openbravo ERPA. Platformpublic2013-11-05 17:532013-11-19 19:07
immediatemajorhave not tried
0025087: Masked String is not working when a range is used in the mask
When creating a field that has a masked string reference, if the mask contains a range, the field will never be validated, even if its content respects the mask definition
Go to references window and create new record:
    name: alphanumeric
    parent reference: Masked String
Go to Masked reference tab:
    input mask: [0-9a-zA-Z]

Go to Tables and Column and asign this reference to one column of the columns.

Go to the window taht contains the column where you have added the masked string reference. Try to add a character. Notice that only alphanumeric caracter can be introduced. Change the focus to other field that notice that error is raised:
 'One or more fields contain illegal values'
No tags attached.
Issue History
2013-11-05 17:53naiaramartinezNew Issue
2013-11-05 17:53naiaramartinezAssigned To => AugustoMauch
2013-11-05 17:53naiaramartinezModules => Core
2013-11-05 17:53naiaramartinezTriggers an Emergency Pack => No
2013-11-05 17:56AugustoMauchSummaryMasked String is not working => Masked String is not working when a range is used in the mask
2013-11-05 17:56AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=5181#r5181
2013-11-06 16:50jonalegriaesartePrioritynormal => immediate
2013-11-06 16:50jonalegriaesarteTarget Version => 3.0MP30
2013-11-06 17:32AugustoMauchAssigned ToAugustoMauch => shankarb
2013-11-12 05:49shankarbReview Assigned To => AugustoMauch
2013-11-12 05:49shankarbIssue Monitored: AugustoMauch
2013-11-12 05:50hgbotCheckin
2013-11-12 05:50hgbotNote Added: 0062077
2013-11-12 05:50hgbotStatusnew => resolved
2013-11-12 05:50hgbotResolutionopen => fixed
2013-11-12 05:50hgbotFixed in SCM revision => [^]
2013-11-18 11:30AugustoMauchNote Added: 0062162
2013-11-18 11:31AugustoMauchStatusresolved => closed
2013-11-18 11:31AugustoMauchFixed in Version => 3.0MP30
2013-11-19 19:07hudsonbotCheckin
2013-11-19 19:07hudsonbotNote Added: 0062252

2013-11-12 05:50   
Repository: erp/devel/pi
Changeset: 59f722a904c3c0722e523384351817e7a59d571a
Author: Shankar Balachandran <shankar.balachandran <at>>
Date: Thu Nov 07 15:59:38 2013 +0530
URL: [^]

Fixes Issue 0025087: Masked String is not working with ranges

When the regex mask contains ranges, manual generation of regex expression is avoided.

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-text.js
2013-11-18 11:30   
Code reviewed and verified in pi@db204076ebbc
2013-11-19 19:07   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]

Maturity status: Test