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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012282
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-02-16 10:192010-03-10 18:30
ReportermarvintmView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchFixed in SCM revisiond534e3ae812c
ProjectionnoneETAnoneTarget Version2.50MP12
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012282: Sql statement in database postscript fails because isindevelopment is no longer null for all the modules

DescriptionThe statement:

update ad_reference
   set parentreference_id =( CASE VALIDATIONTYPE WHEN 'S' THEN '30' WHEN 'L' THEN '17' WHEN 'T' THEN '18' end)
   where validationtype in ('S','L','T')
   and parentreference_id is null

which is executed in the database postscript, fails when a module is affected and is not in development.
Steps To ReproduceJust update.database when a module which needs to be changed exists in the system.
Proposed SolutionThe trigger related to the table needs to be temporarily disabled for this to work.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024387)
hgbot (developer)
2010-02-16 10:23

Repository: erp/devel/pi
Changeset: d534e3ae812c2ef590cb435351f1f39739d604ae
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 16 10:23:31 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d534e3ae812c2ef590cb435351f1f39739d604ae [^]

fixed bug 12282: Sql statement in database postscript fails because isindevelopment is no longer null for all the modules

---
M src-db/database/model/postscript-Oracle.sql
M src-db/database/model/postscript-PostgreSql.sql
---
(0024463)
marvintm (developer)
2010-02-17 09:57

Tested that it works (the postscript statement is executed without errors, and with the expected result)
(0024528)
hudsonbot (developer)
2010-02-18 00:30

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/d534e3ae812c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-16 10:19 marvintm New Issue
2010-02-16 10:19 marvintm Assigned To => alostale
2010-02-16 10:23 hgbot Checkin
2010-02-16 10:23 hgbot Note Added: 0024387
2010-02-16 10:23 hgbot Status new => resolved
2010-02-16 10:23 hgbot Resolution open => fixed
2010-02-16 10:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d534e3ae812c2ef590cb435351f1f39739d604ae [^]
2010-02-17 09:57 marvintm Note Added: 0024463
2010-02-17 09:57 marvintm Status resolved => closed
2010-02-17 09:57 marvintm Fixed in Version => 2.50MP12
2010-02-18 00:01 anonymous sf_bug_id 0 =>
2010-02-18 00:30 hudsonbot Checkin
2010-02-18 00:30 hudsonbot Note Added: 0024528
2010-03-10 18:30 anonymous sf_bug_id => 2968075


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker