[trunk] Unable to edit the path for web icon or web icon hover.

Bug #695678 reported by Jamin Shah(OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

Administration/Customization/User Interface/Menu Items-->switch to form view

Edit path for web icon or web icon hover following traceback appears:

Environment Information :
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1746 <email address hidden>
Traceback (most recent call last):
  File "/home/janki/workspace/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/janki/workspace/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 180, in write
    return super(ir_ui_menu, self).write(*args, **kwargs)
  File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3472, in write
    self.pool.get(object)._store_set_values(cr, user, todo, fields, context)
  File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3729, in _store_set_values
    result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
  File "/home/janki/workspace/trunk/server/bin/osv/fields.py", line 785, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 274, in _get_image_icon
    res[menu.id]['web_icon_data'] = self.read_image(menu.web_icon)
  File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 259, in read_image
    icon_path = addons.get_module_resource(path_info[0],path_info[1])
IndexError: list index out of range

Related branches

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Yogesh (SerpentCS) (yogesh-serpentcs) wrote :

Hello,

It has been fixed into https://code.launchpad.net/~openerp-dev/openobject-server/ysa-server-framework branch by:
Revision ID: <email address hidden>
Revno: 3051

Thanks.

Changed in openobject-server:
status: In Progress → Fix Released
Changed in openobject-server:
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.