Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012007Openbravo ERPA. Platformpublic2010-01-19 16:142010-01-23 00:00
plujan 
marvintm 
immediatemajorhave not tried
closedfixed 
5
2.50MP10 
2.50MP11 
Core
No
0012007: When having several nested Templates, configuration scripts can be executed in wrong order
I have following templates includes structure:
myTemplate > QuickStart Spain > QuickStart

When updating QuickStart Spain to last revision, during rebuild I get several warning messages:
     [java] Loading configuration script: /opt/OpenbravoERP/modules/org.openbravo.com.mytemplate/src-db/database/configScript.xml
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1319] Old Value found: Y Old value expected N
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1319] Old Value found: 170 Old value expected null
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1320] Old Value found: Y Old value expected N
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1320] Old Value found: 180 Old value expected null
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1321] Old Value found: Y Old value expected N
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1321] Old Value found: 190 Old value expected null
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1322] Old Value found: Y Old value expected N
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1322] Old Value found: 200 Old value expected null
     [java] Warning: old value in row not equal to expected one. Table:[AD_MODULE] PK[: 3A3A943684D64DEF9EC39F588A656848] Old Value found: N Old value expected null
     [java] Loading configuration script: /opt/OpenbravoERP/modules/org.openbravo.quickstart.spain/src-db/database/configScript.xml
     [java] Loading configuration script: /opt/OpenbravoERP/modules/org.openbravo.quickstart/src-db/database/configScript.xml
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1319] Old Value found: 390 Old value expected 170
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1320] Old Value found: 380 Old value expected 180
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1321] Old Value found: 370 Old value expected 190
     [java] Warning: old value in row not equal to expected one. Table:[AD_FIELD] PK[: 1322] Old Value found: 360 Old value expected 200
1. In 2.50mp9 with QuickStart Spain 1.0.1, scan for updates and install both Core (mp10) and QuickStart Spain (1.3) updates.
2. Rebuild the system. Log will show above warnings.
No tags attached.
related to defect 0030489 closed inigosanchez configScript(retail.pack) seems not applied when doing install.source 
Issue History
2010-01-19 16:14plujanNew Issue
2010-01-19 16:14plujanAssigned To => marvintm
2010-01-20 16:15iperdomoStatusnew => scheduled
2010-01-20 16:15iperdomofix_in_branch => pi
2010-01-21 09:46hgbotCheckin
2010-01-21 09:46hgbotNote Added: 0023692
2010-01-21 09:46hgbotStatusscheduled => resolved
2010-01-21 09:46hgbotResolutionopen => fixed
2010-01-21 09:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7c922a69edb5232b4f78e8786a716312c0d16295 [^]
2010-01-22 11:13alostaleStatusresolved => closed
2010-01-22 17:05hudsonbotCheckin
2010-01-22 17:05hudsonbotNote Added: 0023759
2010-01-23 00:00anonymoussf_bug_id0 => 2937524
2017-09-18 11:48inigosanchezRelationship addedrelated to 0030489

Notes
(0023692)
hgbot   
2010-01-21 09:46   
Repository: erp/devel/pi
Changeset: 7c922a69edb5232b4f78e8786a716312c0d16295
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jan 21 09:45:42 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c922a69edb5232b4f78e8786a716312c0d16295 [^]

Fixed issue 12022 (onCreateDefaults and NOT NULLs will work correctly). Fixed issue 12007 (config scripts will be applied in the correct order).

---
M src-db/database/lib/dbsourcemanager.jar
---
(0023759)
hudsonbot   
2010-01-22 17:05   
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/7c922a69edb5 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]