← Back to team overview

openerp-india team mailing list archive

[Bug 1009798] [NEW] auto_backup only works when super-administrator password = admin

 

Public bug reported:

openerp version 6.0.4
addons-extra
module: auto_backup

in the module auto_backup the super administrator password is hard-
coded. So when it is changed then the backups produce files of 0kb. =>
no backup and you don't know it :-)

file: backup_scheduler.py
line 97
                    bkp = execute(conn, 'dump', 'admin', rec.name)

I changed it to and this seems to do the job:

                    bkp = execute(conn, 'dump',
tools.config['admin_passwd'], rec.name)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  auto_backup only works when super-administrator password = admin

Status in OpenERP Addons (modules):
  New

Bug description:
  openerp version 6.0.4
  addons-extra
  module: auto_backup

  in the module auto_backup the super administrator password is hard-
  coded. So when it is changed then the backups produce files of 0kb. =>
  no backup and you don't know it :-)

  file: backup_scheduler.py
  line 97
                      bkp = execute(conn, 'dump', 'admin', rec.name)

  I changed it to and this seems to do the job:

                      bkp = execute(conn, 'dump',
  tools.config['admin_passwd'], rec.name)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1009798/+subscriptions


Follow ups

References