Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048527Openbravo ERPA. Platformpublic2022-02-03 14:082022-02-19 12:02
AugustoMauch 
ablasco 
normalminorhave not tried
closedfixed 
5
 
PR22Q2 
Core
No
0048527: Log message level is too high
In the DefaultDataSourceService class, a message is written on the log when building the database properties of generated windows if for some reason DalUtil.getPropertyFromPath(entity, additionalProp) returns false, meaning that there is no property in the given entity with the given name.

This happens some times when using selectors that have fields with aliases. The log is not very useful because there aren't any side effects when the property is not found. We could either change the log devel to debug or remove, I prefer to keep the log with debug level.
- Log in in the backoffice
- Open the Sales Invoice window. Notice that the following message is logged:

2022-02-03 14:07:05,590 [http-nio-8080-exec-10] INFO org.openbravo.service.datasource.DefaultDataSourceService - Couldn't find property from additional property product$productName in entity InvoiceLine
No tags attached.
diff 48527.diff (1,444) 2022-02-15 06:52
https://issues.openbravo.com/file_download.php?file_id=16611&type=bug
Issue History
2022-02-03 14:08AugustoMauchNew Issue
2022-02-03 14:08AugustoMauchAssigned To => Triage Platform Base
2022-02-03 14:08AugustoMauchModules => Core
2022-02-03 14:08AugustoMauchTriggers an Emergency Pack => No
2022-02-03 14:08AugustoMauchSummaryLog message is => Log message level is too high
2022-02-15 06:52guillermogilFile Added: 48527.diff
2022-02-19 12:01hgbotNote Added: 0135143
2022-02-19 12:02hgbotResolutionopen => fixed
2022-02-19 12:02hgbotStatusnew => closed
2022-02-19 12:02hgbotNote Added: 0135144
2022-02-19 12:02hgbotFixed in Version => PR22Q2
2022-02-19 12:02hgbotNote Added: 0135145
2022-02-19 12:02AugustoMauchAssigned ToTriage Platform Base => ablasco

Notes
(0135143)
hgbot   
2022-02-19 12:01   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/529 [^]
(0135144)
hgbot   
2022-02-19 12:02   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/529 [^]
(0135145)
hgbot   
2022-02-19 12:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: dd2f67a4de1a5a1bef4942415f92140590a53051
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 19-02-2022 12:01:57
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/dd2f67a4de1a5a1bef4942415f92140590a53051 [^]

fixes ISSUE-48527: Log message level is too high

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java
---