Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012462 | Openbravo ERP | A. Platform | public | 2010-02-24 18:52 | 2010-03-12 22:39 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | immediate | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 2.50MP12 | |
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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0012513 | 2.50MP14 | closed | marvintm | When an error is logged in the rebuild window, sometimes it is shown as a warning |
|
Attached Files | 2_50mp12_RebuildErrorWarning.PNG (60,408) 2010-03-01 15:36 https://issues.openbravo.com/file_download.php?file_id=2287&type=bug

2_50mp12_RebuildErrorWarningLog.PNG (47,736) 2010-03-01 15:36 https://issues.openbravo.com/file_download.php?file_id=2288&type=bug

|
|
Issue History |
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 | |
Notes |
|
(0024799)
|
hgbot
|
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
|
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
|
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 |
|
|
|
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. |
|
|
|
|