Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020641Openbravo ERPA. Platformpublic2012-05-30 13:552012-06-22 19:42
egoitz 
alostale 
urgentminorhave not tried
closedfixed 
5
3.0MP10.1 
3.0MP133.0MP13 
Core
No
0020641: The password references are not working well when using them on a parameter window
The password references are not working well when using them on a parameter window.
If you define on a process for a jasper report a parameter using password reference, after compile the field parameter on the popup is not working as expected.
The passowrd is shown instead of using *** and then it is sent without decript
-Define a new parameter on the purchase order report (automatic jasper report)
with password reference.
-After compile and restar open the report and on the password parameter field insert a password.
*See that is not encripted
No tags attached.
Issue History
2012-05-30 13:55egoitzNew Issue
2012-05-30 13:55egoitzAssigned To => alostale
2012-05-30 13:55egoitzModules => Core
2012-06-08 11:28alostaleNote Added: 0049707
2012-06-08 11:29hgbotCheckin
2012-06-08 11:29hgbotNote Added: 0049708
2012-06-08 11:29hgbotStatusnew => resolved
2012-06-08 11:29hgbotResolutionopen => fixed
2012-06-08 11:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61fb6c14f18289e86df3c89242a2dafe11fdc85f [^]
2012-06-22 19:42AugustoMauchNote Added: 0050047
2012-06-22 19:42AugustoMauchStatusresolved => closed
2012-06-22 19:42AugustoMauchFixed in Version => 3.0MP13

Notes
(0049707)
alostale   
2012-06-08 11:28   
Provided fix modifies UI to see parameter as password field but it does not encrypt it to send the parameter to the process. Process should take care of it.

Not risky fix.

Test plan:

-Add password parameters to a process (using the 2 password references)
-Add string parameter to a process (to ensure String reference still works)
-Check new parameters work as expected:
  *Password ones are shown as html password
  *String works as it used
  * Parameters are received by the process as they were typed
(0049708)
hgbot   
2012-06-08 11:29   
Repository: erp/devel/pi
Changeset: 61fb6c14f18289e86df3c89242a2dafe11fdc85f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 08 11:29:00 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/61fb6c14f18289e86df3c89242a2dafe11fdc85f [^]

fixed bug 20641: Implemented password reference for proces parameters

---
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-wad/src/org/openbravo/wad/controls/WADString.java
M src-wad/src/org/openbravo/wad/controls/WADString.xml
A src-wad/src/org/openbravo/wad/controls/WADPassword.java
---
(0050047)
AugustoMauch   
2012-06-22 19:42   
Code reviewed and verified in pi@e62a369d2763

String parameters work as usual, and both password fields are shown as * but send unencrypted.