Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043573 | Openbravo ERP | 09. Financial management | public | 2020-03-25 15:16 | 2020-04-06 15:50 |
|
Reporter | shuehner | |
Assigned To | inigo_lerga | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR20Q2 | Fixed in Version | 3.0PR20Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
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 | 0043573: Apply new HQL style in PriceDifferenceUtil |
Description | 1. Avoid use of StringBuilder use normal Strings.
2. HQL formatting is important for improving readability.
3. Avoid use of Property Constant if any |
Steps To Reproduce | - |
Proposed Solution | Follow new style available here http://wiki.openbravo.com/wiki/HQL_Coding_Conventions [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0041287 | | acknowledged | Triage Platform Base | Tracking issue: Convert HQL to apply new style |
|
Attached Files | 43573_partial.diff (518) 2020-03-25 15:17 https://issues.openbravo.com/file_download.php?file_id=14212&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2020-03-25 15:16 | shuehner | New Issue | |
2020-03-25 15:16 | shuehner | Assigned To | => Triage Finance |
2020-03-25 15:16 | shuehner | OBNetwork customer | => No |
2020-03-25 15:16 | shuehner | Modules | => Core |
2020-03-25 15:16 | shuehner | Triggers an Emergency Pack | => No |
2020-03-25 15:16 | shuehner | Relationship added | related to 0041287 |
2020-03-25 15:17 | shuehner | File Added: 43573_partial.diff | |
2020-03-25 15:19 | shuehner | Note Added: 0118812 | |
2020-03-26 09:03 | inigo_lerga | Assigned To | Triage Finance => inigo_lerga |
2020-03-26 09:03 | inigo_lerga | Status | new => scheduled |
2020-03-26 10:32 | inigo_lerga | Note Added: 0118830 | |
2020-04-01 09:27 | hgbot | Checkin | |
2020-04-01 09:27 | hgbot | Note Added: 0118898 | |
2020-04-01 09:27 | hgbot | Status | scheduled => resolved |
2020-04-01 09:27 | hgbot | Resolution | open => fixed |
2020-04-01 09:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ab8c6a4b3c323bb1843ba40e47de13a4292095e2 [^] |
2020-04-01 09:28 | dmiguelez | Review Assigned To | => dmiguelez |
2020-04-01 09:28 | dmiguelez | Note Added: 0118899 | |
2020-04-01 09:28 | dmiguelez | Status | resolved => closed |
2020-04-01 09:28 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
2020-04-06 11:54 | hgbot | Checkin | |
2020-04-06 11:54 | hgbot | Note Added: 0118981 | |
2020-04-06 11:54 | hgbot | Status | closed => resolved |
2020-04-06 11:54 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/ab8c6a4b3c323bb1843ba40e47de13a4292095e2 [^] => http://code.openbravo.com/erp/devel/pi/rev/420829b2a6d0eaaf0c9be088c484090e49d83c3f [^] |
2020-04-06 15:50 | jarmendariz | Note Added: 0118995 | |
2020-04-06 15:50 | jarmendariz | Status | resolved => closed |
Notes |
|
|
That file did use String already to construct HQL query.
However part of that String was creating using String.concat function instead of just doing it using the typical +=
That caused this to come up as non-constant string in automation.
Apart patch fixes that part.
Looking at HQL formatting probably should be reformatted for better readability also. |
|
|
(0118830)
|
inigo_lerga
|
2020-03-26 10:32
|
|
--Test Plan Mantis HQL--
As the F&B International Group Admin role:
- Go to the Process Price Difference Adjustment window.
Select "F&B España, S.A" as Organization and Today's date
as Movement Date.
In the Product field select "Cerveza Ale 0,5L".
- Press the Done button.
#In this moment the modified HQL is updated# |
|
|
(0118898)
|
hgbot
|
2020-04-01 09:27
|
|
|
|
|
|
|
(0118981)
|
hgbot
|
2020-04-06 11:54
|
|
|
|
|
|