Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022717Openbravo ERP09. Financial managementpublic2013-01-02 16:432013-01-04 10:57
jonalegriaesarte 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
pi 
3.0MP18.2 
jonalegriaesarte
Core
Production - QA Approved
No
0022717: When updating to MP18 or higher, update.database fails when user1 and user2 were implemented
When updating to MP18 or higher, update.database fails when user1 and user2 were implemented.
If the environment had and implementation in old user1_id and user2_id fields, the update.database fails, because the implementation of user1_id and user2_id has changed and there are constraints defined in these columns, referencing user1 and user2 tables.
At least, there should be a build validation, giving a warn to fix the data before updating.
- We need a database with user1 or user2 customization (support team can provide it), in version before that MP18
- Launch the update to MP18 or higher
No tags attached.
related to defect 0022974 closed eduardo_Argal Buildvalidation User1ReadyData is breaking updates from 2.50 
Issue History
2013-01-02 16:43jonalegriaesarteNew Issue
2013-01-02 16:43jonalegriaesarteAssigned To => eduardo_Argal
2013-01-02 16:43jonalegriaesarteModules => Core
2013-01-02 16:43jonalegriaesarteTriggers an Emergency Pack => No
2013-01-02 16:51jonalegriaesarteRegression level => Production - QA Approved
2013-01-02 16:51jonalegriaesarteDescription Updatedbug_revision_view_page.php?rev_id=4243#r4243
2013-01-03 13:41eduardo_ArgalStatusnew => scheduled
2013-01-03 13:41eduardo_Argalfix_in_branch => pi
2013-01-03 14:04hgbotCheckin
2013-01-03 14:04hgbotNote Added: 0055344
2013-01-03 14:04hgbotStatusscheduled => resolved
2013-01-03 14:04hgbotResolutionopen => fixed
2013-01-03 14:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7165387824d3d9eba3904ef7ba1e6dad8c56546e [^]
2013-01-04 09:53hudsonbotCheckin
2013-01-04 09:53hudsonbotNote Added: 0055354
2013-01-04 10:57jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-01-04 10:57jonalegriaesarteNote Added: 0055355
2013-01-04 10:57jonalegriaesarteStatusresolved => closed
2013-01-04 10:57jonalegriaesarteFixed in Version => 3.0MP18.2
2013-02-05 11:09shuehnerRelationship addedrelated to 0022974

Notes
(0055344)
hgbot   
2013-01-03 14:04   
Repository: erp/devel/pi
Changeset: 7165387824d3d9eba3904ef7ba1e6dad8c56546e
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Jan 03 13:41:56 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7165387824d3d9eba3904ef7ba1e6dad8c56546e [^]

Fixes bug 22717

---
A src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/User1Ready.class
A src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/User1ReadyData.class
A src-util/buildvalidation/src/org/openbravo/buildvalidation/User1Ready.java
A src-util/buildvalidation/src/org/openbravo/buildvalidation/User1Ready_data.xsql
---
(0055354)
hudsonbot   
2013-01-04 09:53   
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/eea37a82abc2 [^]

Maturity status: Test
(0055355)
jonalegriaesarte   
2013-01-04 10:57   
Verified