← Back to team overview

openerp-india team mailing list archive

[Bug 879872] Re: Does not check return value of pg_restore

 

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/879872

Title:
  Does not check return value of pg_restore

Status in OpenERP Server:
  Confirmed

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