← Back to team overview

openerp-india team mailing list archive

[Bug 1048515] [NEW] wiki group

 

Public bug reported:

wiki bug: 
~~~~~~~~~


step1 : Create a wiki group [ name = `Testing` ],

step2 : Assign newly created group to new wiki page [create new 5 wiki
page]

step3 : Open wiki group `Testing` in form view.

step4 : Display method : `tree` and then click on `Open wiki page`
button.


After these steps I got server traceback.


 File "/home/openerp-stable/static/6.1/server/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 1054, in call_button
    return {'result': clean_action(req, action)}
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 704, in clean_action
    return fix_view_modes(action)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 767, in fix_view_modes
    generate_views(action)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 740, in generate_views
    view_modes, view_id, action))
ValueError: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

 Got view modes ['form', 'tree'] and view id 533 for action {'domain': [('group_id', '=', 7), ('parent_id', '=', False)], 'name': 'Wiki Page', 'view_type': 'tree', 'res_model': 'wiki.wiki', 'view_id': [533], 'nodestroy': True, 'view_mode': 'form,tree', 'flags': {}, 'type': 'ir.actions.act_window'}
 
 
 
 Here I have addons with revision no. : 6983
 
 
 Thanks,
 Давид

** 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/1048515

Title:
  wiki group

Status in OpenERP Addons (modules):
  New

Bug description:
  wiki bug: 
  ~~~~~~~~~

  
  step1 : Create a wiki group [ name = `Testing` ],

  step2 : Assign newly created group to new wiki page [create new 5 wiki
  page]

  step3 : Open wiki group `Testing` in form view.

  step4 : Display method : `tree` and then click on `Open wiki page`
  button.

  
  After these steps I got server traceback.

  
   File "/home/openerp-stable/static/6.1/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 1054, in call_button
      return {'result': clean_action(req, action)}
    File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 704, in clean_action
      return fix_view_modes(action)
    File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 767, in fix_view_modes
      generate_views(action)
    File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 740, in generate_views
      view_modes, view_id, action))
  ValueError: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

   Got view modes ['form', 'tree'] and view id 533 for action {'domain': [('group_id', '=', 7), ('parent_id', '=', False)], 'name': 'Wiki Page', 'view_type': 'tree', 'res_model': 'wiki.wiki', 'view_id': [533], 'nodestroy': True, 'view_mode': 'form,tree', 'flags': {}, 'type': 'ir.actions.act_window'}
   
   
   
   Here I have addons with revision no. : 6983
   
   
   Thanks,
   Давид

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


Follow ups

References