Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032186 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | minor | always | 2016-02-08 13:30 | 2016-02-11 17:08 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 8287d7766667 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3.6 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | vmromanos | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-11-20 | |||||||
Regression introduced in release | 3.0PR15Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/289b897908c3 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032186: Not possible to sort by unit price in Return from Customer p&e | |||||||
Description | Is not possible to sort by unit price in Return from Customer p&e. The following error is displayed in the log after that: 867946fe 562280 [http-8082-5] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: invalid input syntax for type numeric: "" Position: 20857 867946fe 562280 [http-8082-5] ERROR org.openbravo.service.datasource.DataSourceServlet - could not execute query org.hibernate.exception.DataException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.loader.Loader.doList(Loader.java:2536) ... | |||||||
Steps To Reproduce | 1) Go to the [Return From Customer] window. 2) Create a new record in the header 3) Launch the Pick/Edit lines process 4) Sort by unit price. No results are shown. | |||||||
Proposed Solution | It seems that the problem is caused in the order by clause injected by ReturnToFromCustomerVendorHQLTransformer | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0084078) AtulOpenbravo (developer) 2016-02-10 10:25 |
Test Plan - Go to the [Return From Customer] window. - Create a new record in the header - Launch the Pick/Edit lines process - Sort by unit price. Proper sorting is done. |
(0084119) hgbot (developer) 2016-02-11 17:07 |
Repository: erp/backports/3.0PR15Q3.6 Changeset: 8287d77666674ace6e38c5b73b92aae8514f3246 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Thu Feb 11 16:16:57 2016 +0530 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.6/rev/8287d77666674ace6e38c5b73b92aae8514f3246 [^] Fixes Issue 0032186: Not possible to sort by unit price in Return from Customer p&e In case of the Return From Customer for a numeric value of unit Price COALESCE was being use with '' which should have been 0 instead, COALESCE for order no was missing for RTC, additonal ReturnReasonLeftClause2 added to replace EntityAlias.name in the transformeredHQL Query. --- M src/org/openbravo/common/datasource/ReturnToFromCustomerVendorHQLTransformer.java --- |
(0084122) vmromanos (manager) 2016-02-11 17:08 |
Code review + testing OK |
Issue History | |||
Date Modified | Username | Field | Change |
2016-02-10 10:21 | AtulOpenbravo | Type | defect => backport |
2016-02-10 10:21 | AtulOpenbravo | Target Version | => 3.0PR15Q3.6 |
2016-02-10 10:25 | AtulOpenbravo | Note Added: 0084078 | |
2016-02-11 17:07 | hgbot | Checkin | |
2016-02-11 17:07 | hgbot | Note Added: 0084119 | |
2016-02-11 17:07 | hgbot | Status | scheduled => resolved |
2016-02-11 17:07 | hgbot | Resolution | open => fixed |
2016-02-11 17:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3.6/rev/8287d77666674ace6e38c5b73b92aae8514f3246 [^] |
2016-02-11 17:08 | vmromanos | Review Assigned To | => vmromanos |
2016-02-11 17:08 | vmromanos | Note Added: 0084122 | |
2016-02-11 17:08 | vmromanos | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |