Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038757Openbravo ERP04. Warehouse managementpublic2018-06-14 11:042018-06-14 11:34
guilleaer 
AtulOpenbravo 
normalminoralways
newopen 
5
 
 
Core
No
0038757: Strange characters like "line break" are being accepted as attribute value
When a user is trying to give value to a certain attribute, some "control" characters are being allowed.

I think that we should restrict the information which can be inserted in thats field. Even more taking into account that these information now can be edited/changed from other mobile applications like web POS and AWO. Apart from that, I think that from a functional and UI perspective does not make sense.

I would recommend to define a set of character accepted and restrict any other character in every UI which can update this values

[a-z][A-Z][0-9](+,-,_,#,*,@,<,>)
With AWO and AWO SampleData installed

Go to Goods Receipt Window and create a record with:
  * Organization: US West Coast
  * Business Partner: Be Soft Drinker
  * Warehouse: US West Coast
Move to lines and create a new one with:
  * Product: Apple
  * Operative Quantity: 10
  * Attribute Set Value:
    - First, click on the X to remove existing attribute
    - Create a new one with: 'Test [Enter]'. By clicking on enter it will introduce a '\n' character
Complete the Document

As you can see enter is accepted and saved in the database. Ui is not ready to show that. Mobile app with manage this value as json data will suffer
define a set of character accepted and restrict any other character in every UI which can update this value
No tags attached.
related to defect 0038599 closed guilleaer Modules Not possible to log in AWO Front End if an attribute value has '/n' 
Issue History
2018-06-14 11:04guilleaerNew Issue
2018-06-14 11:04guilleaerAssigned To => Triage Finance
2018-06-14 11:04guilleaerModules => Core
2018-06-14 11:04guilleaerTriggers an Emergency Pack => No
2018-06-14 11:10guilleaerRelationship addedrelated to 0038599
2018-06-14 11:34dmiguelezAssigned ToTriage Finance => AtulOpenbravo

There are no notes attached to this issue.