Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | |||||||||||
| 0033791 | |||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
| defect | [Openbravo ERP] A. Platform | minor | have not tried | 2016-08-24 11:47 | 2016-08-25 15:19 | ||||||
| Reporter | shuehner | View Status | public | ||||||||
| Assigned To | Triage Finance | ||||||||||
| Priority | normal | Resolution | open | Fixed in Version | |||||||
| Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
| 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 | |||||||||||
| 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 | 0033791: PricelistVersionFilterExpression & PriceListVersionFilterExpressionName are 99% identical | ||||||||||
| Description | Those 2 files are (ignoring formal changes) completely identical except of a single line: @@ -42,7 +61,7 @@ Date date = getDate(); PriceListVersion priceListVersion = getPriceListVersion(priceList, date); if (priceListVersion != null) { - return priceListVersion.getId(); + return priceListVersion.getName(); } return ""; } That should be refactored as i.e. 33705 & 33790 had to find & fix same bug in both. Note: Both live in same javapackage so it should be possible to do some code-sharing probably easily without api change. | ||||||||||
| Steps To Reproduce | cd src/org/openbravo/erpCommon/info diff -u PriceListVersionFilterExpression.java PriceListVersionFilterExpressionName.java | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2016-08-24 11:47 | shuehner | New Issue | |
| 2016-08-24 11:47 | shuehner | Assigned To | => platform |
| 2016-08-24 11:47 | shuehner | OBNetwork customer | => No |
| 2016-08-24 11:47 | shuehner | Modules | => Core |
| 2016-08-24 11:47 | shuehner | Triggers an Emergency Pack | => No |
| 2016-08-24 11:47 | shuehner | Relationship added | related to 0033705 |
| 2016-08-24 11:47 | shuehner | Relationship added | related to 0033790 |
| 2016-08-24 15:58 | NaroaIriarte | Assigned To | platform => NaroaIriarte |
| 2016-08-24 15:58 | NaroaIriarte | Status | new => acknowledged |
| 2016-08-25 15:19 | caristu | Assigned To | NaroaIriarte => Triage Finance |
| Copyright © 2000 - 2009 MantisBT Group |