Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020495 | Openbravo ERP | A. Platform | public | 2012-05-14 16:55 | 2012-05-25 12:12 |
|
Reporter | shuehner | |
Assigned To | marvintm | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0MP12 | |
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'
|
Additional Information | |
Tags | Performance |
Relationships | |
Attached Files | |
|
Issue History |
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 | |