Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040355Openbravo ERPA. Platformpublic2019-03-12 10:012019-03-28 14:56
shuehner 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR19Q2 
caristu
Core
No
0040355: Some frequent and apparently harmless XmlEngine error message (data not defined for structure) should be probably silenced
In CI runs we see frequently message logged similar to the following:


2019-03-11 14:00:49,942 [http-4] ERROR org.openbravo.xmlEngine.ErrorManagement - Data not defined for structure
2019-03-11 14:00:49,943 [http-4] ERROR org.openbravo.xmlEngine.ErrorManagement - in designorg/openbravo/erpCommon/ad_actionButton/DocAction?newDiscard&priceList.liststructure

Quick check with ALO apparently those are for devs and should not be shown in the production.

That should be reviewed and if confirmed the message probably downgraded to DEBUG
1. Create a Sales Order
2. Click on "Book" button
   -> Check log:
    ERROR org.openbravo.xmlEngine.ErrorManagement - Data not defined for structure
No tags attached.
blocks design defect 0036162 acknowledged Triage Platform Base clean up openbravo.log 
Issue History
2019-03-12 10:01shuehnerNew Issue
2019-03-12 10:01shuehnerAssigned To => platform
2019-03-12 10:01shuehnerModules => Core
2019-03-12 10:01shuehnerTriggers an Emergency Pack => No
2019-03-12 10:37alostaleRelationship addedblocks 0036162
2019-03-12 10:38alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18426#r18426
2019-03-12 10:38alostaleAssigned Toplatform => alostale
2019-03-12 10:38alostaleReview Assigned To => caristu
2019-03-12 10:38alostaleSeverityminor => trivial
2019-03-12 10:43hgbotCheckin
2019-03-12 10:43hgbotNote Added: 0110373
2019-03-12 10:43hgbotStatusnew => resolved
2019-03-12 10:43hgbotResolutionopen => fixed
2019-03-12 10:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8e6d5fa6f5d4a49f0e7623ed98d2b89782ed608c [^]
2019-03-22 10:54caristuNote Added: 0110583
2019-03-22 10:54caristuStatusresolved => closed
2019-03-22 10:54caristuFixed in Version => 3.0PR19Q2
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110862

Notes
(0110373)
hgbot   
2019-03-12 10:43   
Repository: erp/devel/pi
Changeset: 8e6d5fa6f5d4a49f0e7623ed98d2b89782ed608c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 12 10:42:53 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8e6d5fa6f5d4a49f0e7623ed98d2b89782ed608c [^]

fixed issue 40355: reduced log level for xmlEngine "Data not defined" msg

  * This is a message that should only be reviewed while developing xmlEngine forms
    but should not appear in production logs, therefore it's been reduced to DEBUG.
  * Show log and context in the same line
  * Show stacktrace whenever it is available to give more context
  * Show generic error message for unknown ones

---
M src-core/src/org/openbravo/xmlEngine/ErrorManagement.java
---
(0110583)
caristu   
2019-03-22 10:54   
Reviewed + tested OK
(0110862)
hudsonbot   
2019-03-28 14:56   
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/b2fbc1588df4 [^]
Maturity status: Test