Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012462 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | sometimes | 2010-02-24 18:52 | 2010-03-12 22:39 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 2.50MP12 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 910d90095076 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 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 | 0012462: Sometimes there is an error in a rebuild, but the error message is not shown | |||||||
Description | Sometimes there is an error in a rebuild, but the error message is not shown, neither in the build log, nor in the rebuild window. This can happen specially when the error happened inside a task which doesn't directly use Log4j, such as javac. | |||||||
Steps To Reproduce | Modify a Java file of a module so that the syntax is incorrect. After that, rebuild the module. The problem doesn't always happen. When it happens, you can notice it by looking at the window and realizing that, although there were errors in the build (you get a "red message"), no errors are shown in the "Warnings and errors" box. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0024799) hgbot (developer) 2010-02-24 19:12 |
Repository: erp/devel/pi Changeset: 910d90095076b588f789f36c435ca1dee36ef47d Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Feb 24 18:56:14 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/910d90095076b588f789f36c435ca1dee36ef47d [^] Fixed issue 12462. Errors which happened in a task which doesn't use log4j will now always be shown both in the rebuild window and in the log file. --- M src/org/openbravo/erpCommon/ad_process/ApplyModules.html M src/org/openbravo/erpCommon/ad_process/ApplyModulesCallServlet.java M src/org/openbravo/erpCommon/utility/AntExecutor.java --- |
(0024910) plujan (viewer) 2010-03-01 15:33 |
This issue is not properly fixed. When a compilation error happens, now I have several warnings instead an error: Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:146: cannot find symbol Warning: symbol : class AEAT347ReportDao Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report Warning: private void obtainTaxIds(AEAT347ReportDao dao347) { Warning: ^ Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:161: cannot find symbol Warning: symbol : class AEAT347ReportDao Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report Warning: private void calculateAmounts(AEAT347ReportDao dao347, String strAmountLimit, Warning: ^ Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:202: cannot find symbol Warning: symbol : class AEAT347ReportDao Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report Warning: private void getInvoicesAmounts(AEAT347ReportDao dao347, String strDocTypes, Warning: ^ Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:219: cannot find symbol and more... |
(0024911) plujan (viewer) 2010-03-01 15:37 |
Two screenshots added to show the inconsistency. At rebuild window there is an ERROR message, but only warnings are shown. In the Show Log window, what is an error and what is a warning is not clear |
(0024919) marvintm (viewer) 2010-03-01 18:08 |
What we intended to report was fixed. The error messages previously weren't shown in the rebuild window. There is a separate issue (that part of the error message is shown as warnings). A new issue will be logged for this. |
(0025319) hudsonbot (viewer) 2010-03-12 22:39 |
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/910d90095076 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-02-24 18:52 | marvintm | New Issue | |
2010-02-24 18:52 | marvintm | Assigned To | => marvintm |
2010-02-24 18:52 | marvintm | OBNetwork customer | => No |
2010-02-24 19:12 | hgbot | Checkin | |
2010-02-24 19:12 | hgbot | Note Added: 0024799 | |
2010-02-24 19:12 | hgbot | Status | new => resolved |
2010-02-24 19:12 | hgbot | Resolution | open => fixed |
2010-02-24 19:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/910d90095076b588f789f36c435ca1dee36ef47d [^] |
2010-02-26 17:44 | plujan | Priority | normal => immediate |
2010-03-01 15:33 | plujan | Note Added: 0024910 | |
2010-03-01 15:33 | plujan | Status | resolved => new |
2010-03-01 15:33 | plujan | Resolution | fixed => open |
2010-03-01 15:35 | plujan | Status | new => scheduled |
2010-03-01 15:35 | plujan | fix_in_branch | => pi |
2010-03-01 15:36 | plujan | File Added: 2_50mp12_RebuildErrorWarning.PNG | |
2010-03-01 15:36 | plujan | File Added: 2_50mp12_RebuildErrorWarningLog.PNG | |
2010-03-01 15:37 | plujan | Note Added: 0024911 | |
2010-03-01 18:08 | marvintm | Note Added: 0024919 | |
2010-03-01 18:08 | marvintm | Status | scheduled => resolved |
2010-03-01 18:08 | marvintm | Fixed in Version | => 2.50MP12 |
2010-03-01 18:08 | marvintm | Resolution | open => fixed |
2010-03-01 18:11 | marvintm | Relationship added | related to 0012513 |
2010-03-01 18:11 | marvintm | Status | resolved => closed |
2010-03-10 17:24 | anonymous | sf_bug_id | 0 => |
2010-03-10 18:30 | anonymous | sf_bug_id | => 2968103 |
2010-03-12 22:39 | hudsonbot | Checkin | |
2010-03-12 22:39 | hudsonbot | Note Added: 0025319 |
Copyright © 2000 - 2009 MantisBT Group |