Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043044 | Openbravo ERP | A. Platform | public | 2020-01-29 10:21 | 2020-02-07 10:48 |
|
Reporter | inigo_lerga | |
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 | | 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 | 0043044: Apply new HQL Style in CostingAlgorithmAdjustmentImp.java |
Description | CostingAlgorithmAdjustmentImp.java has two HQL queries with:
- the HQL is hard to read because of formatting
- and it is mixing txt and i.e PROPERTY_ID constant which is not recommended by default |
Steps To Reproduce | - |
Proposed Solution | Follow new format as in 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 | related to | defect | 0043061 | | closed | inigo_lerga | Private functions not locally used in CostingAlgorithmAdjustmentImp.java |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-01-29 10:21 | inigo_lerga | New Issue | |
2020-01-29 10:21 | inigo_lerga | Assigned To | => inigo_lerga |
2020-01-29 10:21 | inigo_lerga | OBNetwork customer | => No |
2020-01-29 10:21 | inigo_lerga | Modules | => Core |
2020-01-29 10:21 | inigo_lerga | Triggers an Emergency Pack | => No |
2020-01-29 10:21 | inigo_lerga | Relationship added | related to 0041287 |
2020-01-29 11:03 | inigo_lerga | Status | new => acknowledged |
2020-01-29 11:03 | inigo_lerga | Status | acknowledged => scheduled |
2020-01-29 15:18 | inigo_lerga | Note Added: 0117324 | |
2020-01-30 09:49 | inigo_lerga | Relationship added | related to 0043061 |
2020-02-07 10:46 | hgbot | Checkin | |
2020-02-07 10:46 | hgbot | Note Added: 0117548 | |
2020-02-07 10:46 | hgbot | Status | scheduled => resolved |
2020-02-07 10:46 | hgbot | Resolution | open => fixed |
2020-02-07 10:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/93e16fd2b91833d4868763128b4297a4dbc4d853 [^] |
2020-02-07 10:46 | hgbot | Checkin | |
2020-02-07 10:46 | hgbot | Note Added: 0117549 | |
2020-02-07 10:48 | dmiguelez | Review Assigned To | => dmiguelez |
2020-02-07 10:48 | dmiguelez | Note Added: 0117550 | |
2020-02-07 10:48 | dmiguelez | Status | resolved => closed |
2020-02-07 10:48 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Notes |
|
(0117324)
|
inigo_lerga
|
2020-01-29 15:18
|
|
Test Plan Mantis HQL queries:
Execute the TestCosting.java JUnit tests.
#In this moment all the modified HQLs are executed# |
|
|
(0117548)
|
hgbot
|
2020-02-07 10:46
|
|
|
|
(0117549)
|
hgbot
|
2020-02-07 10:46
|
|
Repository: erp/devel/pi
Changeset: 130c190966f38597a1773763e3470aa7f549f3a7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Feb 07 10:46:06 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/130c190966f38597a1773763e3470aa7f549f3a7 [^]
Related to ISSUE-43044. Code Review Changes:
* Changed variable names to better reflect that they are referring to
id's and not to the objects
* Use id in hql query instead of object
* In swithc-case statement, remove added breaks, as they were altering
the originally intended logic
---
M src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java
---
|
|
|
|
|