Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010588Openbravo ERP03. Procurement managementpublic2009-09-14 19:252009-10-06 11:27
shuehner 
shuehner 
highmajorN/A
closedfixed 
5
2.40 
2.50MP6 
Core
No
0010588: CreateFromMultiple_Receipt_data.xsql has optional filter on M_LOCATOR.M_LOCATOR_TYPE_ID which was removed in 2.3x -> 2.40
This xsql-file:

src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt_data.xsql

has the following optional parameter:

<Parameter name="mLocatortypeId" optional="true" after="AND 1=1" text=" AND L.M_LOCATOR_TYPE_ID = ? "/>

referencing a now non-existant column m_locator_type_id in the m_locator table. This column was removed somewhere between 2.3x -> 2.40

Planned changes to speed up the build would execute the slqc-queries and also include this optional parameter in the query which will obviously fail.

The query (and parameter) is used from the CreateFromMultiple servlet.
Remove the optional parameter from the xsql file (as the column does not exist) and check/remove/change the locator_type logic in the servlet.
No tags attached.
depends on backport 0010617 closed shuehner CreateFromMultiple_Receipt_data.xsql has optional filter on M_LOCATOR.M_LOCATOR_TYPE_ID which was removed in 2.3x -> 2.40 
blocks defect 0004038 closed shuehner Slow compilation in sqlC part due to high amount of data 
Issue History
2009-09-14 19:25shuehnerNew Issue
2009-09-14 19:25shuehnerAssigned To => rafaroda
2009-09-14 19:26shuehnerNote Added: 0019931
2009-09-14 19:26shuehnerRelationship addedblocks 0004038
2009-09-15 20:57shuehnerAssigned Torafaroda => shuehner
2009-09-15 20:57shuehnerStatusnew => scheduled
2009-09-15 20:57shuehnerfix_in_branch => pi
2009-09-15 21:03hgbotCheckin
2009-09-15 21:03hgbotNote Added: 0020100
2009-09-15 21:03hgbotStatusscheduled => resolved
2009-09-15 21:03hgbotResolutionopen => fixed
2009-09-15 21:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/29c8320f0292a89cd372952a8d664605b5b88e94 [^]
2009-09-18 13:30psarobeStatusresolved => closed
2009-09-18 13:30psarobeFixed in Version => 2.50MP6
2009-09-19 00:00anonymoussf_bug_id0 => 2861737
2009-09-29 14:12hgbotCheckin
2009-09-29 14:12hgbotNote Added: 0020470
2009-09-29 14:12hgbotStatusclosed => resolved
2009-09-29 14:12hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/29c8320f0292a89cd372952a8d664605b5b88e94 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/29c8320f0292a89cd372952a8d664605b5b88e94 [^]
2009-10-06 11:27psarobeStatusresolved => closed
2009-10-06 11:27psarobeNote Added: 0020757

Notes
(0019931)
shuehner   
2009-09-14 19:26   
Fix is needed in 2.40 and 2.50 as it blocks the speedup sqlc issue.
(0020100)
hgbot   
2009-09-15 21:03   
Repository: erp/devel/pi
Changeset: 29c8320f0292a89cd372952a8d664605b5b88e94
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Sep 15 21:03:23 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/29c8320f0292a89cd372952a8d664605b5b88e94 [^]

Fixed 10588: Fix sql error by removing filter on now non-existant column
- The file did filter on m_locator.m_locator_type_id which was removed before 2.40
- Removes code the combobox for 'Locator Type' from the html,xml,java
- Remove use and pass down to parameter of the m_locator_type_id value

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt_data.xsql
---
(0020470)
hgbot   
2009-09-29 14:12   
Repository: erp/devel/pi-pageddatagrid
Changeset: 29c8320f0292a89cd372952a8d664605b5b88e94
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Sep 15 21:03:23 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/29c8320f0292a89cd372952a8d664605b5b88e94 [^]

Fixed 10588: Fix sql error by removing filter on now non-existant column
- The file did filter on m_locator.m_locator_type_id which was removed before 2.40
- Removes code the combobox for 'Locator Type' from the html,xml,java
- Remove use and pass down to parameter of the m_locator_type_id value

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt_data.xsql
---
(0020757)
psarobe   
2009-10-06 11:27   
Closed again because hudson has reopened without no reason