credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05170
[Bug 1182311] Re: Integrity Error -
To be honest, I have not got a clue. 'file_size' seems to come from
document/document.py and is an integer field. Having integers set to
required should not have any effect, as False values are converted to 0.
Have you got data in the database that you are generating records from?
Try running it on a new database with the same set of modules installed
but without any data.
BTW you do know that generating records and comparing them is only
necessary in preparation of writing migration scripts for custom or 3rd
party modules?
--
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1182311
Title:
Integrity Error -
Status in OpenUpgrade Server:
New
Bug description:
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: file_size - file.size]
-------
This error is displayed in the Generate Records.
-----------
Log
2013-05-21 04:41:48,190 2745 INFO erpxxxx openerp.addons.base.module.module: module plugin: no quality certificate
2013-05-21 04:41:48,190 2745 INFO erpxxxx openerp.modules.loading: module process: loading objects
2013-05-21 04:41:48,197 2745 INFO erpxxxx openerp.modules.loading: module web_calendar: loading objects
2013-05-21 04:41:48,199 2745 INFO erpxxxx openerp.addons.base.module.module: module web_calendar: no quality certificate
2013-05-21 04:41:48,199 2745 INFO erpxxxx openerp.modules.loading: module web_dashboard: loading objects
2013-05-21 04:41:48,201 2745 INFO erpxxxx openerp.addons.base.module.module: module web_dashboard: no quality certificate
2013-05-21 04:41:48,201 2745 INFO erpxxxx openerp.modules.loading: module web_diagram: loading objects
2013-05-21 04:41:48,204 2745 INFO erpxxxx openerp.addons.base.module.module: module web_diagram: no quality certificate
2013-05-21 04:41:48,204 2745 INFO erpxxxx openerp.modules.loading: module web_gantt: loading objects
2013-05-21 04:41:48,206 2745 INFO erpxxxx openerp.addons.base.module.module: module web_gantt: no quality certificate
2013-05-21 04:41:48,207 2745 INFO erpxxxx openerp.modules.loading: module web_graph: loading objects
2013-05-21 04:41:48,209 2745 INFO erpxxxx openerp.addons.base.module.module: module web_graph: no quality certificate
2013-05-21 04:41:48,209 2745 INFO erpxxxx openerp.modules.loading: module web_kanban: loading objects
2013-05-21 04:41:48,211 2745 INFO erpxxxx openerp.addons.base.module.module: module web_kanban: no quality certificate
2013-05-21 04:41:48,211 2745 INFO erpxxxx openerp.modules.loading: module web_process: loading objects
2013-05-21 04:41:48,213 2745 INFO erpxxxx openerp.addons.base.module.module: module web_process: no quality certificate
2013-05-21 04:41:48,214 2745 INFO erpxxxx openerp.modules.loading: module analytic: loading objects
2013-05-21 04:41:48,219 2745 INFO erpxxxx openerp.modules.loading: module knowledge: loading objects
2013-05-21 04:41:48,221 2745 INFO erpxxxx openerp.modules.loading: module mail: loading objects
2013-05-21 04:41:48,229 2745 INFO erpxxxx openerp.modules.loading: module product: loading objects
2013-05-21 04:41:48,248 2745 INFO erpxxxx openerp.modules.loading: module resource: loading objects
2013-05-21 04:41:48,254 2745 INFO erpxxxx openerp.modules.loading: module base_action_rule: loading objects
2013-05-21 04:41:48,259 2745 INFO erpxxxx openerp.modules.loading: module base_calendar: loading objects
2013-05-21 04:41:48,275 2745 INFO erpxxxx openerp.modules.loading: Modules loaded.
2013-05-21 04:41:48,281 2745 ERROR erpxxxx openerp.netsvc: Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: file_size - file.size]
To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1182311/+subscriptions
References