Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020495 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2012-05-14 16:55 | 2012-05-25 12:12 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9d97cd717801 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020495: ant smartbuild (called without -Dlocal=no) should not call apply.module | |||||||
Description | Calling: 1.) ant smartbuild -> does call apply.module once (via smartbuild directly) 2.) ant smartbuild -Dlocal=no -> does call apply.module twice (once indirectly via the update.database call + a second one like in case 1.) As an apply.module not doing anything can cost up to 20s of runtime (indirect cost because of compile.apply.module) it should not be run twice. Also ant smartbuild without the '-Dlocal=no' option does not request to update the database but apply.module does exactly that (import referencedata + translations). Thus the function of 'ant smartbuild' should be changed to not call any 'apply.module' itself but only indirectly when requested via '-Dlocal=no' Note: This is a behaviour change and probably should be announced somehow to all developers. | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Thus the function of 'ant smartbuild' should be changed to not call any 'apply.module' itself but only indirectly when requested via '-Dlocal=no' | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0048645) hgbot (developer) 2012-05-15 12:02 |
Repository: erp/devel/pi Changeset: 9d97cd71780173b4e52929001009a8a0123e29cd Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue May 15 12:01:27 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/9d97cd71780173b4e52929001009a8a0123e29cd [^] Fixed issue 20495. Apply.module has been removed from smartbuild. - As update.database already calls apply.module, it was called twice in case smartbuild was called with -Dlocal=no. - In case -Dlocal=no was not used, it was actually incorrect, as the user didn't specify that he wanted to update the database (that's what -Dlocal means). --- M build.xml --- |
(0048677) alostale (viewer) 2012-05-16 09:06 |
Code reviewed and verified on pi@d4ef642f1e2a |
(0049130) hudsonbot (viewer) 2012-05-25 12:12 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-14 16:55 | shuehner | New Issue | |
2012-05-14 16:55 | shuehner | Assigned To | => marvintm |
2012-05-14 16:55 | shuehner | Modules | => Core |
2012-05-14 16:55 | shuehner | OBNetwork customer | => No |
2012-05-15 12:02 | hgbot | Checkin | |
2012-05-15 12:02 | hgbot | Note Added: 0048645 | |
2012-05-15 12:02 | hgbot | Status | new => resolved |
2012-05-15 12:02 | hgbot | Resolution | open => fixed |
2012-05-15 12:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9d97cd71780173b4e52929001009a8a0123e29cd [^] |
2012-05-16 09:05 | alostale | Tag Attached: Performance | |
2012-05-16 09:06 | alostale | Note Added: 0048677 | |
2012-05-16 09:06 | alostale | Status | resolved => closed |
2012-05-16 09:06 | alostale | Fixed in Version | => 3.0MP12 |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049130 |
Copyright © 2000 - 2009 MantisBT Group |