Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034289Openbravo ERPA. Platformpublic2016-10-25 15:552022-02-01 08:09
umartirena 
Triage Platform Base 
highmajoralways
newopen 
5
 
 
Core
No
0034289: Masked String reference doesn't work for parameters of Process Definition
Masked String reference doesn't work for parameters of Process Definition. Even if the masked string is applied to a parameter, that behavior is not taken into account
In an environment with retail modules and specifically "Copy Retail Store" module.
 
As System administrator:
 * Go to References window and create a new record with Parent reference: Masked String.
 * Go to Masked String tab and create a new record with the following mask: ######
 * Go to Process Definition window and search "Copy Terminal" record.
 * Go to Parameters tab and change reference and reference search key to the new masked string for "POS Terminal Search Key" parameter.
 * Compile and start the server again.

As White Valley admin:
 * Go to POS Terminal window, select a record and press on Copy Terminal button.
 * Realize that it is possible to add any String in the "POS Terminal Search Key" parameter of the opened popup, when only 6 digit value could be added.
No tags attached.
Issue History
2016-10-25 15:55umartirenaNew Issue
2016-10-25 15:55umartirenaAssigned To => platform
2016-10-25 15:55umartirenaModules => Core
2016-10-25 15:55umartirenaTriggers an Emergency Pack => No
2016-10-25 18:20caristuNote Added: 0090880
2016-10-25 18:31caristuTypedefect => design defect
2016-10-25 18:34caristuNote Added: 0090881
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0090880)
caristu   
2016-10-25 18:20   
The Masked String reference[1] currently adds the mask properties just when being used by a field of a standard window.

It does not add the mask information when used it is used by a standard parameter.

[1] https://code.openbravo.com/erp/devel/pi/file/9ec41af386ae/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/MaskedStringUIDefinition.java#l28 [^]
(0090881)
caristu   
2016-10-25 18:34   
Updated wiki: http://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition#References [^]