Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043400
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2020-03-03 12:502020-03-06 14:51
Reporterinigo_lergaView Statuspublic 
Assigned Toinigo_lerga 
PrioritynormalResolutionfixedFixed in Version3.0PR20Q2
StatusclosedFix in branchFixed in SCM revision00befc0f7e5b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043400: Apply new HQL Style in OrderLineEventHandler.java

DescriptionOrderLineEventHandler.java has one HQL query 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 SolutionFollow new format as in http://wiki.openbravo.com/wiki/HQL_Coding_Conventions [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0041287 acknowledgedTriage Platform Base Tracking issue: Convert HQL to apply new style 

-  Notes
(0118295)
inigo_lerga (reporter)
2020-03-03 13:27

--Test Plan Mantis HQL queries--
As the F&B International Group Admin role:
  - Go to the Purchase Order window and create
    a new record. Select any Business Partner desired.
    Save the record.
  - Go to the Lines Tab and create a new Line with any
    desired product.
    Save the record.
    Now delete the Line that you just created.
  
  #In this moment the modified HQL is executed#
(0118400)
hgbot (developer)
2020-03-06 14:50

Repository: erp/devel/pi
Changeset: 00befc0f7e5b88308c396bdebc0ef413479c2f7a
Author: Iñigo Lerga <inigo.lerga <at> openbravo.com>
Date: Tue Mar 03 13:32:23 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/00befc0f7e5b88308c396bdebc0ef413479c2f7a [^]

fixes BUG-43400:Applied new HQL Style

---
M src/org/openbravo/event/OrderLineEventHandler.java
---
(0118401)
hgbot (developer)
2020-03-06 14:50

Repository: erp/devel/pi
Changeset: a55b2454208f7299f26667878f4ce8d744252fe7
Author: Iñigo Lerga <inigo.lerga <at> openbravo.com>
Date: Tue Mar 03 13:38:25 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a55b2454208f7299f26667878f4ce8d744252fe7 [^]

related to ISSUE-43400: Finals added

-Finals added

---
M src/org/openbravo/event/OrderLineEventHandler.java
---
(0118402)
dmiguelez (developer)
2020-03-06 14:51

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2020-03-03 12:50 inigo_lerga New Issue
2020-03-03 12:50 inigo_lerga Assigned To => inigo_lerga
2020-03-03 12:50 inigo_lerga Modules => Core
2020-03-03 12:50 inigo_lerga Triggers an Emergency Pack => No
2020-03-03 12:50 inigo_lerga Relationship added related to 0041287
2020-03-03 12:50 inigo_lerga Status new => scheduled
2020-03-03 13:27 inigo_lerga Note Added: 0118295
2020-03-06 14:50 hgbot Checkin
2020-03-06 14:50 hgbot Note Added: 0118400
2020-03-06 14:50 hgbot Status scheduled => resolved
2020-03-06 14:50 hgbot Resolution open => fixed
2020-03-06 14:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/00befc0f7e5b88308c396bdebc0ef413479c2f7a [^]
2020-03-06 14:50 hgbot Checkin
2020-03-06 14:50 hgbot Note Added: 0118401
2020-03-06 14:51 dmiguelez Review Assigned To => dmiguelez
2020-03-06 14:51 dmiguelez Note Added: 0118402
2020-03-06 14:51 dmiguelez Status resolved => closed
2020-03-06 14:51 dmiguelez Fixed in Version => 3.0PR20Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker