← Back to team overview

openerp-india team mailing list archive

[Bug 899857] Re: [trunk] Bookmarking Home page raises a fault

 

Lets invalidate this bug but I suspect this error will come upon
duplicating an unsaved record!

I will post a bug and a fix soon!

Thanks.

** Changed in: openobject-server
       Status: Incomplete => Invalid

-- 
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/899857

Title:
  [trunk] Bookmarking Home page raises a fault

Status in OpenERP Server:
  Invalid

Bug description:
  Create new database
  The "Welcome to your new OpenERP instance" is shown.

  - Now, click on the star in front of "Home Page" 
  - The star becomes yellow but the bookmark is not added to the top vertically flowed list so:
  - Click again on the star in front of "Home Page"

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/controllers/main.py", line 799, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/controllers/main.py", line 795, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/common/openerplib/main.py", line 429, in proxy
      *args)
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/decindus/public_html/tools/openerp/openerp-web/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/osv/orm.py", line 3678, in unlink
      'where id IN %s', (sub_ids,))
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/sql_db.py", line 153, in wrapper
      return f(self, *args, **kwargs)
    File "/home/decindus/public_html/tools/openerp/openobject-server/openerp/sql_db.py", line 215, in execute
      res = self._obj.execute(query, params)
    File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 100, in getquoted
      qobjs = [str(o.getquoted()) for o in pobjs]
  AttributeError: 'str' object has no attribute 'getquoted'

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


References