Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030459 | Openbravo ERP | A. Platform | public | 2015-07-30 10:52 | 2015-08-20 23:16 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q4 | Fixed in Version | 3.0PR15Q4 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030459: Not possible to configure properly a modulescript to be executed twice or more times during install.source |
Description | Currently is not possible to configure a modulescript to be executed twice or more times during install.source with the functionalities added in [1].
For example, if we want to execute a modulescript added in Q3 on install.source and also in Q4, this can't be configured because the executeOnInstall() does not takes into account this case (it just take this into account when updating update.database and update.database.mod tasks)
[1] https://issues.openbravo.com/view.php?id=30286 [^] |
Steps To Reproduce | In description |
Proposed Solution | Adapt the usage of the executeOnInstall() to work with the install.source task also. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0030286 | | closed | caristu | Add ability to determine if modulescripts should be executed depending on a particular module version |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-07-30 10:52 | caristu | New Issue | |
2015-07-30 10:52 | caristu | Assigned To | => caristu |
2015-07-30 10:52 | caristu | Modules | => Core |
2015-07-30 10:52 | caristu | Triggers an Emergency Pack | => No |
2015-07-30 10:53 | caristu | Relationship added | related to 0030286 |
2015-07-30 11:01 | hgbot | Checkin | |
2015-07-30 11:01 | hgbot | Note Added: 0079122 | |
2015-07-30 11:08 | caristu | Review Assigned To | => alostale |
2015-07-30 11:08 | caristu | Issue Monitored: alostale | |
2015-07-30 11:09 | hgbot | Checkin | |
2015-07-30 11:09 | hgbot | Note Added: 0079124 | |
2015-07-30 11:09 | hgbot | Status | new => resolved |
2015-07-30 11:09 | hgbot | Resolution | open => fixed |
2015-07-30 11:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/142f0dbc4bc3cd1e7d9fc29ab8afe03fe94cc062 [^] |
2015-07-30 11:14 | caristu | Note Added: 0079125 | |
2015-08-06 08:29 | alostale | Note Added: 0079209 | |
2015-08-06 08:29 | alostale | Status | resolved => closed |
2015-08-06 08:29 | alostale | Fixed in Version | => 3.0PR15Q4 |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079512 | |
Notes |
|
(0079122)
|
hgbot
|
2015-07-30 11:01
|
|
|
|
(0079124)
|
hgbot
|
2015-07-30 11:09
|
|
Repository: erp/devel/pi
Changeset: 142f0dbc4bc3cd1e7d9fc29ab8afe03fe94cc062
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jul 30 11:07:20 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/142f0dbc4bc3cd1e7d9fc29ab8afe03fe94cc062 [^]
fixes issue 30459: can execute modulescripts twice or more on install.source
It was not possible to configure modulescripts to be executed more than once during install.source of different versions. Now we send an empty hash map during install.source to the ModuleScriptHandler. This way we identify that we are executing the install.source task. Thus, in this case we will execute the modulescript depending on the value returned by its executeOnInstall() method
---
M src-core/src/org/openbravo/modulescript/ModuleScript.java
M src-db/database/lib/dbsourcemanager.jar
---
|
|
|
|
|
|
|
code reviewed + tested: now install.source considers modules as being installed |
|
|
|
|