c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35558
[Bug 879872] Re: Does not check return value of pg_restore
** Branch linked: lp:~openerp-community/openobject-server/stefan-
therp_lp879872-6.1
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/879872
Title:
Does not check return value of pg_restore
Status in OpenERP Server:
New
Bug description:
Hi,
When restoring a database through the interface, the server side code
does not properly check the return value of the pg_restore process.
The process flags a non-empty stdout as error condition, but this is
not appropriate. Errors are logged to stderr by pg_restore, as are
warnings. Neither are of any use. The process should call wait() on
the Popen object, and check on its return value which is the return
value of pg_restore.
Reproducable on trunk, rev 3772.
Cheers,
Stefan.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/879872/+subscriptions
References