Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016395Openbravo ERPA. Platformpublic2011-03-21 11:182011-05-24 10:55
alostale 
alostale 
urgentminorN/A
closedfixed 
5
pi 
 
Core
No
0016395: Autorefresh license when checking commercial modules
When a new commercial module is included within a license (because it has been bought or because it is free for this license type), it is required to refresh license before been able to install it.
1. Buy a commercial license without access to commercial module A
2. Activate your instance with that license
3. Buy module A for that license
4. Try to install module A in that instance: it is not allowed as it was not in the original license used to activate the instance
5. Refresh instance online
6. Try to install module A, now it is allowed
In this scenario step 4 should allow to do the installation, preventing the user to go through steps 5 and 6.

When installing/updating commercial modules. License manager will check the module locally as it is done currently, in case the module is not in the original license, it will try to online refresh it and will recheck whether the module is now in the license.

To avoid multiple refreshes, it will be cached when the license was automatically refreshed last time and next refresh won't happen in the following hour.
closingMay2011
depends on backport 0016396 closed alostale Autorefresh license when checking commercial modules 
Issue History
2011-03-21 11:18alostaleNew Issue
2011-03-21 11:18alostaleAssigned To => alostale
2011-03-21 11:18alostaleModules => Core
2011-03-21 11:19alostaleStatusnew => scheduled
2011-03-21 11:19alostalefix_in_branch => pi
2011-03-21 11:21hgbotCheckin
2011-03-21 11:21hgbotNote Added: 0035081
2011-03-21 11:21hgbotStatusscheduled => resolved
2011-03-21 11:21hgbotResolutionopen => fixed
2011-03-21 11:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d2fa6d96225be4f9a0e129bc65da99611e65d80d [^]
2011-05-24 10:12dalsasuaTag Attached: closingMay2011
2011-05-24 10:55dalsasuaStatusresolved => closed

Notes
(0035081)
hgbot   
2011-03-21 11:21   
Repository: erp/devel/pi
Changeset: d2fa6d96225be4f9a0e129bc65da99611e65d80d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 21 11:20:27 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d2fa6d96225be4f9a0e129bc65da99611e65d80d [^]

fixed issue 16395: Autorefresh license when checking commercial modules

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
M src/org/openbravo/erpCommon/obps/ActiveInstanceProcess.java
---