Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045447 | Openbravo ERP | A. Platform | public | 2020-11-16 10:04 | 2020-12-02 13:50 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q1 | |
Merge Request Status | approved |
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 | 0045447: DimensionDisplayUtility uses String.format over hql to introduce certain params |
Description | This class uses String.format on certain HQL query strings to replace certain params, it should instead include the params already in the query and not require usage of String.format.
Problematic format here: https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java#L427 [^] |
Steps To Reproduce | In description. |
Proposed Solution | Use the property, which in this case is actually a fixed String value on the HQL query. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-11-16 10:04 | cberner | New Issue | |
2020-11-16 10:04 | cberner | Assigned To | => cberner |
2020-11-16 10:04 | cberner | OBNetwork customer | => No |
2020-11-16 10:04 | cberner | Modules | => Core |
2020-11-16 10:04 | cberner | Triggers an Emergency Pack | => No |
2020-11-16 10:07 | hgbot | Merge Request Status | => open |
2020-11-16 10:07 | hgbot | Note Added: 0124404 | |
2020-11-25 18:42 | hgbot | Note Added: 0124626 | |
2020-12-02 13:21 | hgbot | Merge Request Status | open => approved |
2020-12-02 13:42 | hgbot | Resolution | open => fixed |
2020-12-02 13:42 | hgbot | Status | new => closed |
2020-12-02 13:42 | hgbot | Note Added: 0124689 | |
2020-12-02 13:42 | hgbot | Fixed in Version | => PR21Q1 |
2020-12-02 13:42 | hgbot | Note Added: 0124690 | |
2020-12-02 13:50 | cberner | Note Added: 0124691 | |
Notes |
|
(0124404)
|
hgbot
|
2020-11-16 10:07
|
|
|
|
(0124626)
|
hgbot
|
2020-11-25 18:42
|
|
|
|
(0124689)
|
hgbot
|
2020-12-02 13:42
|
|
|
|
(0124690)
|
hgbot
|
2020-12-02 13:42
|
|
|
|
|
Test Plan:
1. Log in as Openbravo User
2. Open "Financial Account" window (Contains several Display logics that will execute the modified query)
3. Check that everything loaded as expected and there are no errors in Openbravo log. |
|