Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009077Openbravo ERPA. Platformpublic2009-05-19 10:102009-07-27 00:00
roklenardic 
marvintm 
highmajoralways
closedfixed 
20Ubuntu 9.04
main 
2.50MP3 
Core
No
0009077: install.source + configScript.xml error
when executing "ant install.source", we have been getting the

Loading config script for module Training Customization Template. Path: /home/rok/openbravoTraining/src-db/database/../../modules/org.openbravo.training.template/src-db/database/configScript.xml
Parse Error at line 2 column 11: Document root element "vector", must match DOCTYPE root "null".
Parse Error at line 2 column 11: Document is invalid: no grammar found.
Executed 2 SQL command(s) with 0 error(s)

error.
Same thing happens to Openbravo Xpress template.
Do "ant install.source" from a 2.50MP1 fresh install with at least one active module/template with the following configScript.xml

<?xml version="1.0"?>
  <vector>
    <columnDataChange tablename="AD_FIELD" columnname="ISDISPLAYED" pkRow="800724">
      <oldValue><![CDATA[Y]]></oldValue>
      <newValue><![CDATA[N]]></newValue>
    </columnDataChange>
    <columnDataChange tablename="AD_FIELD" columnname="SEQNO" pkRow="800724">
      <oldValue><![CDATA[10]]></oldValue>
      <newValue/>
    </columnDataChange>
  </vector>
250MP3releasecandidate
Issue History
2009-05-19 10:10roklenardicNew Issue
2009-05-19 10:10roklenardicAssigned To => rafaroda
2009-05-19 10:10roklenardicRegression testing => No
2009-05-19 11:09rafarodaNote Added: 0016451
2009-05-19 11:09rafarodaStatusnew => feedback
2009-05-19 11:46roklenardicNote Added: 0016455
2009-05-19 12:08gnuyogaNote Added: 0016459
2009-05-19 15:51rafarodaAssigned Torafaroda => alostale
2009-05-19 15:51rafarodaPrioritynormal => high
2009-05-19 15:51rafarodaStatusfeedback => scheduled
2009-05-19 15:51rafarodaversion => main
2009-05-19 15:51rafarodaProposed Solution updated
2009-05-20 16:47alostaleAssigned Toalostale => marvintm
2009-05-26 10:28hgbotCheckin
2009-05-26 10:28hgbotNote Added: 0016648
2009-05-26 10:28hgbotStatusscheduled => resolved
2009-05-26 10:28hgbotResolutionopen => fixed
2009-05-26 10:28hgbotCheckin
2009-05-26 10:28hgbotNote Added: 0016649
2009-05-26 10:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/01ce35fd00dd38157f0c1241a44ffd9757200677 [^]
2009-06-22 11:09psarobeFixed in Version => main
2009-07-21 16:24psarobeFixed in Versionmain => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-26 21:59psarobeStatusresolved => closed
2009-07-27 00:00anonymoussf_bug_id0 => 2827479

Notes
(0016451)
rafaroda   
2009-05-19 11:09   
Rok,

Please specify the Openbravo ERP version and the steps to reproduce this issue.

Thanks.
(0016455)
roklenardic   
2009-05-19 11:46   
Do "ant install.source" from a 2.50MP1 fresh install with at least one active module/template with the following configScript.xml

<?xml version="1.0"?>
  <vector>
    <columnDataChange tablename="AD_FIELD" columnname="ISDISPLAYED" pkRow="800724">
      <oldValue><![CDATA[Y]]></oldValue>
      <newValue><![CDATA[N]]></newValue>
    </columnDataChange>
    <columnDataChange tablename="AD_FIELD" columnname="SEQNO" pkRow="800724">
      <oldValue><![CDATA[10]]></oldValue>
      <newValue/>
    </columnDataChange>
  </vector>
(0016459)
gnuyoga   
2009-05-19 12:08   
Priya from RM team has also found the same bug while doing a build.

http://builds.openbravo.com/job/erp_devel_main-obxpress/13/consoleText [^]

- sree
(0016648)
hgbot   
2009-05-26 10:28   
Repository: dbsourcemanager
Revision: 325
Author: marvintm
Date: 2009-05-26 10:28:03 +0200 (Tue, 26 May 2009)

Fixed issue 9077. There shouldn't be wrong warnings when applying a configuration script anymore.

---
U trunk/src/org/apache/ddlutils/io/DatabaseIO.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=325&sc=1 [^]
(0016649)
hgbot   
2009-05-26 10:28   
Repository: erp/devel/pi
Changeset: 01ce35fd00dd38157f0c1241a44ffd9757200677
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue May 26 10:28:21 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/01ce35fd00dd38157f0c1241a44ffd9757200677 [^]

Fixed issue 9077. There shouldn't be wrong warnings when applying a configuration script anymore.

---
M src-db/database/lib/dbsourcemanager.jar
---