Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014701Openbravo ERPA. Platformpublic2010-09-27 10:582010-10-16 00:00
iciordia 
alostale 
urgentmajoralways
closedfixed 
5any
pi 
2.50MP23 
Core
No
0014701: It is not possible to register a module from an instance in which it has been installed
The registration button in the Module window has a display logic that hides the button if the module has already been registered. It has several problems:
-when installing a module from an obx file the system assumes it has already been registered
-developers can un-register the module from the forge and the instance from which the module was registered is not aware about that change

To register again the module it is needed to go to the database and set the "isRegistered" column as "N"
Remove the display logic and let the developer to try the registration process as many times as needed. If the module has already been registered the backend returns a clear error message.
No tags attached.
Issue History
2010-09-27 10:58iciordiaNew Issue
2010-09-27 10:58iciordiaAssigned To => alostale
2010-09-27 11:40hgbotCheckin
2010-09-27 11:40hgbotNote Added: 0031383
2010-09-27 11:40hgbotStatusnew => resolved
2010-09-27 11:40hgbotResolutionopen => fixed
2010-09-27 11:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6000237719aaad75779d387ab275d0c01e383603 [^]
2010-09-29 11:57hudsonbotCheckin
2010-09-29 11:57hudsonbotNote Added: 0031468
2010-10-15 12:57marvintmNote Added: 0031878
2010-10-15 12:57marvintmStatusresolved => closed
2010-10-16 00:00anonymoussf_bug_id0 => 3088373

Notes
(0031383)
hgbot   
2010-09-27 11:40   
Repository: erp/devel/pi
Changeset: 6000237719aaad75779d387ab275d0c01e383603
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Sep 27 11:39:06 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6000237719aaad75779d387ab275d0c01e383603 [^]

fixed bug 14701: Not possible to register a module that has been installed

  Removed display logic for register button, now it is possible to click on
  it for modules set as registered. When trying to register a module that has
  already been registered the following meesage is shown:

    Module Id already Registered

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0031468)
hudsonbot   
2010-09-29 11:57   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/6000237719aa [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/51c2c2967221 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18452.obx [^]
(0031878)
marvintm   
2010-10-15 12:57   
Tested that it is possible to register a non-registered module. Also, verified that it is possible to try to register an already registered module (even if the ISREGISTERED column is marked as 'Y'), but that the process will fail, and a meaningful error message will be shown.