← Back to team overview

openerp-india team mailing list archive

[Bug 886747] Re: [6.0] Error message after creation of new database || base_setup : correction on action definition, misses _rec_name

 

Marking as Invalid for server, as the problem was exposed by a change in web-6.0, that in turn revealed a design issue in an addons.
We should not make the server more lenient for such issues, and here the bug really needs to be corrected in addons.

This problem is now gone if web client 6.0 is updated to a revision after [1], as the change that exposed it has been reverted.
I'm leaving the bug open for addons as there is a valid merge proposal for fixing it, even though it will not be reproducible after [1].

[1] web-6.0 rev.4729 revision-id:
odo@xxxxxxxxxxx-20111115141731-kmfe7zybukodozcm


** Changed in: openobject-server
       Status: Fix Released => Invalid

** Changed in: openobject-server
    Milestone: 6.0.4 => None

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

** Also affects: openobject-client-web
   Importance: Undecided
       Status: New

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

Title:
  [6.0] Error message after creation of new database || base_setup :
  correction on action definition, misses _rec_name

Status in OpenERP Addons (modules):
  Fix Committed
Status in OpenERP Web Client:
  Fix Released
Status in OpenERP Server:
  Invalid

Bug description:
  I made completely new fresh branched installation from launchpad (server 6.0, addons 6.0, web-client 6.0)
  creation of new database results in error below (ususally wizard starts at this point)

  
  Traceback (most recent call last):
    File "/home/prospwro/openerp/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/prospwro/openerp/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1630, in fields_view_get
      xml = self.__get_default_search_view(cr, user, context)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1394, in __get_default_search_view
      tree_view = self.fields_view_get(cr, uid, False, 'tree', context=context)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1645, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1336, in __view_look_dom_arch
      cr.execute('select name, model from ir_ui_view where (id=%s or inherit_id=%s) and arch like %s', (view_id, view_id, '%%%s%%' % field))
    File "/home/prospwro/openerp/server/bin/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/prospwro/openerp/server/bin/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: operator does not exist: integer = boolean
  СТРОКА 1:select name, model from ir_ui_view where (id=false or inheri...
                                                       ^
  ПОДСКАЗКА:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

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


References