Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016396
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. PlatformminorN/A2011-03-21 11:182011-06-06 14:02
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revisionb1b1346f2141
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016396: Autorefresh license when checking commercial modules

DescriptionWhen 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.
Steps To Reproduce1. 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
Proposed SolutionIn 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0016395 closedalostale Autorefresh license when checking commercial modules 

-  Notes
(0035299)
hgbot (developer)
2011-03-29 10:36

Repository: erp/stable/2.50
Changeset: b1b1346f21410cb261377ea5a7b8f8e53f5be583
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 21 12:06:20 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/b1b1346f21410cb261377ea5a7b8f8e53f5be583 [^]

fixed issue 16396: Autorefresh license when checking commercial modules

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
M src/org/openbravo/erpCommon/obps/ActiveInstanceProcess.java
---
(0038033)
shuehner (administrator)
2011-06-06 14:02

Tested in pi/pgsql (rev: 5e50f384b771). Working fine system auto-refreshes the license if trying to install a commercial module not in the local license so far and the last refresh is not within the last 60min.

Note: tested in pi only, but cset for 2.50 is identical to the one in pi.

- Issue History
Date Modified Username Field Change
2011-03-21 11:19 alostale Type feature request => backport
2011-03-21 11:19 alostale fix_in_branch => 2.50
2011-03-29 10:36 hgbot Checkin
2011-03-29 10:36 hgbot Note Added: 0035299
2011-03-29 10:36 hgbot Status scheduled => resolved
2011-03-29 10:36 hgbot Resolution open => fixed
2011-03-29 10:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/b1b1346f21410cb261377ea5a7b8f8e53f5be583 [^]
2011-06-06 14:02 shuehner Note Added: 0038033
2011-06-06 14:02 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker