Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021674Openbravo ERPA. Platformpublic2012-09-17 18:502012-09-26 17:19
dbaz 
dbaz 
normalminoralways
closedfixed 
5
 
3.0MP16 
AugustoMauch
Core
No
0021674: "getRandomId()" in ob-toolbar.js should be moved to a OB.Utilities
"getRandomId()" in ob-toolbar.js should be moved to a OB.Utilities

This will also reuse it in other places where it be needed
Open "ob-toolbar.js" and see "getRandomId()" function
No tags attached.
Issue History
2012-09-17 18:50dbazNew Issue
2012-09-17 18:50dbazAssigned To => dbaz
2012-09-17 18:50dbazModules => Core
2012-09-17 18:50dbazClosed by => AugustoMauch
2012-09-17 18:53hgbotCheckin
2012-09-17 18:53hgbotNote Added: 0052180
2012-09-17 18:53hgbotStatusnew => resolved
2012-09-17 18:53hgbotResolutionopen => fixed
2012-09-17 18:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f7344c95ba2418d593515ca9b986ec5006e74d6e [^]
2012-09-17 18:55dbazNote Added: 0052181
2012-09-24 17:07AugustoMauchNote Added: 0052353
2012-09-24 17:07AugustoMauchStatusresolved => closed
2012-09-24 17:07AugustoMauchFixed in Version => 3.0MP16
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052776

Notes
(0052180)
hgbot   
2012-09-17 18:53   
Repository: erp/devel/pi
Changeset: f7344c95ba2418d593515ca9b986ec5006e74d6e
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Sep 17 18:52:35 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f7344c95ba2418d593515ca9b986ec5006e74d6e [^]

Fixed issue 21674: Added 'OB.Utilities.generateRandomString' function

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
(0052181)
dbaz   
2012-09-17 18:55   
** {{{ OB.Utilities.generateRandomString }}} **

 Generates a random string based on the arguments
 Parameters:
  * {{{stringLength}}} Length of the generated random string
  * {{{allowLowerCaseChars}}} Boolean to check if lower case characters are allowed (true by default)
  * {{{allowUpperCaseChars}}} Boolean to check if upper case characters are allowed (true by default)
  * {{{allowDigits}}} Boolean to check if digits are allowed (false by default)
  * {{{allowSpecialChars}}} Boolean to check if special characters are allowed (false by default)
(0052353)
AugustoMauch   
2012-09-24 17:07   
Code reviewed and verified in pi@4c4431d17dbd
(0052776)
hudsonbot   
2012-09-26 17:19   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test