Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041530 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2019-08-02 09:15 | 2019-08-22 14:45 | |||
Reporter | salvador_campanella | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e1744209e156 | ||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 11011 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041530: When Two or more Property Fields are set to the Pick / Edit Lines windows. UNDEFINED Index: 24, Size: 24 Error appears | |||||||
Description | When Two or more Property Fields are set to the Pick / Edit Lines window. UNDEFINED Index: 24, Size: 24 Error appears | |||||||
Steps To Reproduce | - Create a new module - As System Administrator, Go to Windows Tabs and Fields - Search by name: RFC/RTV HQL Pick / Edit Lines and select - Create a new field: name: UPC/EAN property: product.uPCEAN - Create another field: name: Product_id property: product.id - ant smartbuild (optional) - Restart Tomcat - As a normal role, Go to Return from Customer Window. - Create a new Return from customer - Click on the button Pick/Edit Lines UNDEFINED Index: 24, Size: 24 Error appears | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0113859) hgbot (developer) 2019-08-07 09:19 |
Repository: erp/devel/pi Changeset: e1744209e1562420c99b90dd06110c0c126b32be Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Aug 07 09:18:02 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e1744209e1562420c99b90dd06110c0c126b32be [^] fixed bug 41530: property fields in HQL ds throws IndexOutOfBoundsException When retriving values to populata HQL datasources, aliases defined in the HQL query are used to match actual property, but column name based on AD column postion is used as fallback in case those properties are not defined or they don't match any actual property. When adding new property fields, it can occur the number of fields to be populated by the HQL is bigger than the number of columns in the corresponding AD table, this case was not taken into account leading to an IndexOutOfBoundsException. As columnName shouldn't be used, now it is not set in this situation. Although it is kept for the rest of the cases to preserve backward compatibility. --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0113901) hgbot (developer) 2019-08-08 11:42 |
Repository: erp/devel/pi Changeset: a4ac557d02719875b5a05d38f7ed6fb40bdf8b94 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Aug 08 11:42:05 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a4ac557d02719875b5a05d38f7ed6fb40bdf8b94 [^] related to issue 41530: fixed comparison --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0113918) caristu (viewer) 2019-08-09 08:03 |
Reviewed + tested OK |
(0114209) hudsonbot (viewer) 2019-08-22 14:45 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/ad3efd3bd07c [^] Maturity status: Test |
(0114218) hudsonbot (viewer) 2019-08-22 14:45 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/ad3efd3bd07c [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2019-08-02 09:15 | salvador_campanella | New Issue | |
2019-08-02 09:15 | salvador_campanella | Assigned To | => caristu |
2019-08-02 09:15 | salvador_campanella | OBNetwork customer | => OBPS |
2019-08-02 09:15 | salvador_campanella | Modules | => Core |
2019-08-02 09:15 | salvador_campanella | Support ticket | => 11011 |
2019-08-02 09:15 | salvador_campanella | Resolution time | => 1566511200 |
2019-08-02 09:15 | salvador_campanella | Triggers an Emergency Pack | => No |
2019-08-07 09:10 | alostale | Assigned To | caristu => alostale |
2019-08-07 09:11 | alostale | Review Assigned To | => caristu |
2019-08-07 09:19 | hgbot | Checkin | |
2019-08-07 09:19 | hgbot | Note Added: 0113859 | |
2019-08-07 09:19 | hgbot | Status | new => resolved |
2019-08-07 09:19 | hgbot | Resolution | open => fixed |
2019-08-07 09:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e1744209e1562420c99b90dd06110c0c126b32be [^] |
2019-08-08 11:42 | hgbot | Checkin | |
2019-08-08 11:42 | hgbot | Note Added: 0113901 | |
2019-08-09 08:03 | caristu | Note Added: 0113918 | |
2019-08-09 08:03 | caristu | Status | resolved => closed |
2019-08-09 08:03 | caristu | Fixed in Version | => 3.0PR19Q4 |
2019-08-22 14:45 | hudsonbot | Checkin | |
2019-08-22 14:45 | hudsonbot | Note Added: 0114209 | |
2019-08-22 14:45 | hudsonbot | Checkin | |
2019-08-22 14:45 | hudsonbot | Note Added: 0114218 |
Copyright © 2000 - 2009 MantisBT Group |