Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043336 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-02-26 11:45 | 2020-03-06 12:29 | |||
Reporter | inigo_lerga | View Status | public | |||||
Assigned To | inigo_lerga | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR20Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6dd3ae016011 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0043336: Apply new HQL Style in CancelAndReplaceUtils.java | |||||||
Description | CancelAndReplaceUtils.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 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0118118) inigo_lerga (viewer) 2020-02-26 12:43 |
--Test Plan Mantis HQL queries-- As the F&B International Group Admin role: - Go to the Preference window and create a new record with "Enable Cancel and Replace" as Property and Value "Y". Save, Log out and Log in again. - Go to the Sales Order window and create a new record with any Business Partner desired. - Go to the Lines Tab and create a new Line with any desired product and quantity. - Save the Sales Order record and Book it. Press now the Cancel and Replace Button and Done button in the popup window. Now Press the Confirm Cancel and Replace Button and Done button in the popup window. #In this moment the modified HQLs are executed# |
(0118367) hgbot (developer) 2020-03-06 12:28 |
Repository: erp/devel/pi Changeset: 6dd3ae016011882cf62c99d7bb5dee8386afa6e1 Author: Iñigo Lerga <inigo.lerga <at> openbravo.com> Date: Wed Feb 26 12:56:37 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/6dd3ae016011882cf62c99d7bb5dee8386afa6e1 [^] fixes BUG-43336:Applied new HQL Style --- M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java --- |
(0118368) hgbot (developer) 2020-03-06 12:28 |
Repository: erp/devel/pi Changeset: 09285ef380dfdf2743c74f81fbe2ec0a6768baa5 Author: Iñigo Lerga <inigo.lerga <at> openbravo.com> Date: Wed Feb 26 13:46:14 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/09285ef380dfdf2743c74f81fbe2ec0a6768baa5 [^] related to ISSUE-43336: Applied Sonarlint suggestions and more -Finals added -Sonarlint suggestions applied --- M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java --- |
(0118369) dmiguelez (viewer) 2020-03-06 12:29 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2020-02-26 11:45 | inigo_lerga | New Issue | |
2020-02-26 11:45 | inigo_lerga | Assigned To | => inigo_lerga |
2020-02-26 11:45 | inigo_lerga | OBNetwork customer | => No |
2020-02-26 11:45 | inigo_lerga | Modules | => Core |
2020-02-26 11:45 | inigo_lerga | Triggers an Emergency Pack | => No |
2020-02-26 11:45 | inigo_lerga | Relationship added | related to 0041287 |
2020-02-26 11:45 | inigo_lerga | Status | new => scheduled |
2020-02-26 12:43 | inigo_lerga | Note Added: 0118118 | |
2020-02-26 13:51 | inigo_lerga | Description Updated | View Revisions |
2020-03-06 12:28 | hgbot | Checkin | |
2020-03-06 12:28 | hgbot | Note Added: 0118367 | |
2020-03-06 12:28 | hgbot | Status | scheduled => resolved |
2020-03-06 12:28 | hgbot | Resolution | open => fixed |
2020-03-06 12:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6dd3ae016011882cf62c99d7bb5dee8386afa6e1 [^] |
2020-03-06 12:28 | hgbot | Checkin | |
2020-03-06 12:28 | hgbot | Note Added: 0118368 | |
2020-03-06 12:29 | dmiguelez | Review Assigned To | => dmiguelez |
2020-03-06 12:29 | dmiguelez | Note Added: 0118369 | |
2020-03-06 12:29 | dmiguelez | Status | resolved => closed |
2020-03-06 12:29 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Copyright © 2000 - 2009 MantisBT Group |