credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05227
[Bug 1192094] [NEW] Demo Data isn't loaded in openupgrade server while updating
Public bug reported:
Hi,
I continue to work on script migration and I wanted to use demo data in 6.1 & 7.0 to see if all is operational after the migration.
(I don't know how the team members work to test script migration...)
So I have a problem when updating DB with demo data.
User case :
- Created DB in 6.1
-> with demo data.
-> without module installed.
updating this DB using openobject-upgrade :
I have a fatal error when updating my DB in v7.0
Extract of my log :
INFO v61_vierge_demo openerp.modules.loading: module base: loading res/res_partner_demo.yml
INFO v61_vierge_demo openerp.modules.loading: module base: loading res/res_partner_image_demo.xml
[...]
Parse error in ~/openobject-server_upgrade/openerp/addons/base/res/res_partner_image_demo.xml:17:
<record id="base.res_partner_address_5" model="res.partner">
<field name="image">iVB....</field>
</record>
[...]
IntegrityError: null value in column "name" violates not-null constraint
the #res_partner_address_5 is a new demo data of V7 and the creation is
defined in the res_partner_demo.yml, that is parsed before but
openUgrade don't create the res.partner "Chao Wang"
If I use openupgrade-server like a normal server and create a New DB v7
with demo data, the res_partner_address_5 ("Chao Wang") exists in the
DB.
If it's a bug, i could be problematic. Not concerning demo data but
other data.
Thanks for your attention.
** Affects: openupgrade-server
Importance: Medium
Status: New
--
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1192094
Title:
Demo Data isn't loaded in openupgrade server while updating
Status in OpenUpgrade Server:
New
Bug description:
Hi,
I continue to work on script migration and I wanted to use demo data in 6.1 & 7.0 to see if all is operational after the migration.
(I don't know how the team members work to test script migration...)
So I have a problem when updating DB with demo data.
User case :
- Created DB in 6.1
-> with demo data.
-> without module installed.
updating this DB using openobject-upgrade :
I have a fatal error when updating my DB in v7.0
Extract of my log :
INFO v61_vierge_demo openerp.modules.loading: module base: loading res/res_partner_demo.yml
INFO v61_vierge_demo openerp.modules.loading: module base: loading res/res_partner_image_demo.xml
[...]
Parse error in ~/openobject-server_upgrade/openerp/addons/base/res/res_partner_image_demo.xml:17:
<record id="base.res_partner_address_5" model="res.partner">
<field name="image">iVB....</field>
</record>
[...]
IntegrityError: null value in column "name" violates not-null constraint
the #res_partner_address_5 is a new demo data of V7 and the creation
is defined in the res_partner_demo.yml, that is parsed before but
openUgrade don't create the res.partner "Chao Wang"
If I use openupgrade-server like a normal server and create a New DB
v7 with demo data, the res_partner_address_5 ("Chao Wang") exists in
the DB.
If it's a bug, i could be problematic. Not concerning demo data but
other data.
Thanks for your attention.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1192094/+subscriptions
Follow ups
References