Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020528
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalhave not tried2012-05-16 17:322012-05-25 12:12
ReporterplujanView Statuspublic 
Assigned Toshuehner 
PriorityimmediateResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchFixed in SCM revision3075c0f96cd7
ProjectionnoneETAnoneTarget Version3.0MP11
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase version8.3Ant version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020528: A SQL query is not compatible with 8.3 making the upgrade from 2.50 to fail

DescriptionWhen trying to update a 2.50 to 3.0 MP11 I've got an error:

[java] 2083 [main] ERROR org.openbravo.data.Sqlc - SQL error in query: select ad_tab.ad_tab_id as tabid, ad_column.ad_column_id as columnid, ad_window.name as windowname, ad_tab.name as tabname,
     [java] ad_field.name fieldname,ad_column.name as columnname, ad_field.ad_module_id as moduleid, ad_module.name as modulename
     [java] from ad_window, ad_tab, ad_field, ad_column, ad_module
     [java] where ad_field.ad_column_id = ad_column.ad_column_id
     [java] and ad_field.ad_module_id = ad_module.ad_module_id
     [java] and ad_tab.ad_tab_id = ad_field.ad_tab_id
     [java] and ad_window.ad_window_id = ad_tab.ad_window_id
     [java] and (ad_module.javapackage in (
     [java] '1') or to_char('Y')=to_char(?))
     [java] and exists (select * from ad_field subFld where
     [java] subFld.ad_tab_id = ad_field.ad_tab_id
     [java] and subFld.ad_column_id = ad_field.ad_column_id
     [java] and ad_field.ad_field_id <> subFld.ad_field_id)
     [java] order by ad_tab.ad_tab_id, ad_column.ad_column_id
     [java]
     [java] org.postgresql.util.PSQLException: ERROR: syntax error at or near "fieldname"
Steps To Reproducerebuild after upgrading from 2.50 to 3.0 MP11
TagsRegression QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0019986 closedguilleaer If two modules add same field to a tab compilation fails (even if field is non-visible) 

-  Notes
(0048711)
hgbot (developer)
2012-05-16 18:22

Repository: erp/devel/pi
Changeset: 3075c0f96cd7a616902890e779a2744f11098a4c
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed May 16 18:21:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3075c0f96cd7a616902890e779a2744f11098a4c [^]

Fixed 20528: Add missing 'as' in select to fix compatibility with pgsql 8.3

---
M src-wad/src/org/openbravo/wad/validation/WADValidator_data.xsql
---
(0048720)
AugustoMauch (administrator)
2012-05-17 11:20

Code reviewed and verified in pi@5e580de24a96
(0049150)
hudsonbot (developer)
2012-05-25 12:12

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/5401e185a8b0 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-05-16 17:32 plujan New Issue
2012-05-16 17:32 plujan Assigned To => guilleaer
2012-05-16 17:32 plujan Modules => Core
2012-05-16 17:33 plujan Relationship added related to 0019986
2012-05-16 17:33 plujan Tag Attached: Regression QA
2012-05-16 17:35 plujan Assigned To guilleaer => shuehner
2012-05-16 18:22 hgbot Checkin
2012-05-16 18:22 hgbot Note Added: 0048711
2012-05-16 18:22 hgbot Status new => resolved
2012-05-16 18:22 hgbot Resolution open => fixed
2012-05-16 18:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3075c0f96cd7a616902890e779a2744f11098a4c [^]
2012-05-17 11:20 AugustoMauch Note Added: 0048720
2012-05-17 11:20 AugustoMauch Status resolved => closed
2012-05-17 11:20 AugustoMauch Fixed in Version => 3.0MP12
2012-05-25 12:12 hudsonbot Checkin
2012-05-25 12:12 hudsonbot Note Added: 0049150


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker