Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013916 | Modules | Butler | public | 2010-07-07 17:58 | 2010-07-10 11:23 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | immediate | Severity | critical | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | No |
Regression introduced in release | |
|
Summary | 0013916: Licenses with big number of modules are not activable |
Description | The original cause for issue 0013894 is that butler generates licenses that are longer than the maximum column size where they are stored in the ERP DB.
Issue 0013894 fixes the problem in new Openbravo ERP versions, but the issue is still present for older versions. If this happens an instance for this license will not be possible to activate. |
Steps To Reproduce | -Obtain a license with a big number of commercial modules associated (around 60)
-Try to activate an instance in a Openbravo ERP <=2.50mp19 -> The error described in 0013894 appears. |
Proposed Solution | When trying to activate an instance, send the instance core version (only for >=mp20). In case this info is not send, it means the instance is <mp20, so check the size of the generated key, in case it is higher than 4000 chars, re-generate it removing all the modules that do not fit in the key size but making sure core is in.
In this way the instance will loose some modules information (preventing installing or updating them) but at least it would be possible to update to >=mp20 and refresh license then.
In order to make aware the user of this problem, the only possible solution is to append to the license's customer name a text like follows:
Customer Name -- Limited to xx modules!! Upgrade to 2.50MP20 and refresh the license to obtain all of them. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0013894 | | closed | alostale | Openbravo ERP | Activation an instance fails if the license contains too many modules |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-07-07 17:58 | alostale | New Issue | |
2010-07-07 17:58 | alostale | Assigned To | => alostale |
2010-07-07 17:58 | alostale | OBNetwork customer | => No |
2010-07-07 18:05 | hgbot | Checkin | |
2010-07-07 18:05 | hgbot | Note Added: 0029136 | |
2010-07-07 18:08 | hgbot | Checkin | |
2010-07-07 18:08 | hgbot | Note Added: 0029138 | |
2010-07-07 18:08 | hgbot | Status | new => resolved |
2010-07-07 18:08 | hgbot | Resolution | open => fixed |
2010-07-07 18:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/8077d18a4444a835218521a634a5609325255859 [^] |
2010-07-07 18:18 | hgbot | Checkin | |
2010-07-07 18:18 | hgbot | Note Added: 0029141 | |
2010-07-08 08:05 | alostale | Status | resolved => new |
2010-07-08 08:05 | alostale | Resolution | fixed => open |
2010-07-08 08:05 | alostale | Relationship added | related to 0013894 |
2010-07-08 08:05 | alostale | Status | new => scheduled |
2010-07-08 08:05 | alostale | fix_in_branch | => pi |
2010-07-08 08:06 | alostale | Status | scheduled => resolved |
2010-07-08 08:06 | alostale | Resolution | open => fixed |
2010-07-09 10:24 | marvintm | Note Added: 0029178 | |
2010-07-09 10:24 | marvintm | Status | resolved => closed |
2010-07-10 11:23 | hudsonbot | Checkin | |
2010-07-10 11:23 | hudsonbot | Note Added: 0029201 | |
Notes |
|
(0029136)
|
hgbot
|
2010-07-07 18:05
|
|
Repository: erp/devel/pi
Changeset: d6bdb910859089c22d1588dfd0362fb43eed364e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 07 18:04:39 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d6bdb910859089c22d1588dfd0362fb43eed364e [^]
related to issue 13916: Licenses with big number of modules are not activable
Send from Openbravo ERP core version when activating an Instance.
---
M src/org/openbravo/erpCommon/obps/ActiveInstanceProcess.java
---
|
|
|
(0029138)
|
hgbot
|
2010-07-07 18:08
|
|
Repository: erp/pmods/org.openbravo.butler.ops
Changeset: 8077d18a4444a835218521a634a5609325255859
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 07 18:08:43 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/8077d18a4444a835218521a634a5609325255859 [^]
fixed issue 13916: Licenses with big number of modules are not activable
Receive from erp the core version, if it is not reveived version is <mp20.
In this case limit the size of the generated license to 4000 characters, by
not including modules.
---
M src/org/openbravo/butler/ops/ActivationKeyGetter.java
---
|
|
|
(0029141)
|
hgbot
|
2010-07-07 18:18
|
|
|
|
|
Verified that in MP20 "candidate" the activation of the license goes fine, and that in MP19, the activation goes as fine as it can go (only a limited amount of modules are active, and you see the intended message in the Customer Name field in the Instance Activation window). |
|
|
|
|