← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 800108] Re: Meetings - calendar view not showing meetings of all users

 

Hello Todor

I have reproduced the same issue at my end at perticular scenario when I am first time login with web-client for
any user.

The meetings will not load at above condition and when I logout and login again, I did't face the same issue with 
meetings calendar.

Thanks.

** Project changed: openobject-addons => openobject-client-web

** Changed in: openobject-client-web
   Importance: Undecided => Low

** Changed in: openobject-client-web
       Status: Incomplete => Confirmed

** Changed in: openobject-client-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/800108

Title:
  Meetings - calendar view not showing meetings of all users

Status in OpenERP Web Client:
  Confirmed

Bug description:
  This morning we have gone into this error:

  
  [code]
  Request Headers:
    REFERER: http://192.168.0.252:8080/openerp/menu?active=73
    HOST: 192.168.0.252:8080
    ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.7
    USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; bg; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 ( .NET CLR 3.5.30729; .NET4.0C)
    CONNECTION: keep-alive
    COOKIE: PHPSESSID=cncfkvassijeh7p2ob9dg365j5; session_id=f5685c3bce41bdd211928c56fc3b6244a525ec53; terp_db=test_supportivo; terp_user=secretary
    Remote-Addr: 192.168.0.5
    ACCEPT-LANGUAGE: bg,en-us;q=0.7,en;q=0.3
    ACCEPT-ENCODING: gzip,deflate
    KEEP-ALIVE: 115
  [21/Jun/2011:11:14:17] HTTP <type 'exceptions.AttributeError'>
  Python 2.6.5: /usr/bin/python
  Tue Jun 21 11:14:16 2011

  A problem occurred in a Python script.  Here is the sequence of
  function calls leading up to the error, in the order they occurred.

  /usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object>, path_info='/view_calendar/calpopup/edit')
    604                     if self.handler:
    605                         self.stage = 'handler'
    606                         cherrypy.response.body = self.handler()
    607
    608                     self.stage = 'before_finalize'
  global cherrypy = <module 'cherrypy' from '/usr/local/lib/python2..../CherryPy-3.1.2-py2.6.egg/cherrypy/__init__.pyc'>
  cherrypy.response = <cherrypy._ThreadLocalProxy object>
  cherrypy.response.body = []
  self = <cherrypy._cprequest.Request object>
  self.handler = <cherrypy._cpdispatch.LateParamPageHandler object>

  /usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
     23     def __call__(self):
     24         try:
     25             return self.callable(*self.args, **self.kwargs)
     26         except TypeError, x:
     27             test_callable_spec(self.callable, self.args, self.kwargs)
  self = <cherrypy._cpdispatch.LateParamPageHandler object>
  self.callable = <bound method Root.default of <openobject.controllers._root.Root object>>
  self.args = ('view_calendar', 'calpopup', 'edit')
  self.kwargs = {'context': "{'lang': u'en_US', 'active_ids': [270], 'tz': u'...eb', 'project_id': False, 'department_id': False}", 'domain': '[]', 'model': 'crm.meeting', 'view_ids': '[557, 558, 556, 555]', 'view_mode': "[u'calendar', u'gantt', u'tree', u'form']"}

  /opt/openerp/web/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object>, 'view_calendar', 'calpopup', 'edit'), **kw={'context': "{'lang': u'en_US', 'active_ids': [270], 'tz': u'...eb', 'project_id': False, 'department_id': False}", 'domain': '[]', 'model': 'crm.meeting', 'view_ids': '[557, 558, 556, 555]', 'view_mode': "[u'calendar', u'gantt', u'tree', u'form']"})
    180                 raise cherrypy.HTTPError(405)
    181
    182             res = func(*args, **kw)
    183             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
    184                 cherrypy.response.headers['Content-Type'] = 'text/javascript'
  global res = '/opt/openerp/web/openobject/widgets/templates/jssource.mako'
  func = <function default>
  args = (<openobject.controllers._root.Root object>, 'view_calendar', 'calpopup', 'edit')
  kw = {'context': "{'lang': u'en_US', 'active_ids': [270], 'tz': u'...eb', 'project_id': False, 'department_id': False}", 'domain': '[]', 'model': 'crm.meeting', 'view_ids': '[557, 558, 556, 555]', 'view_mode': "[u'calendar', u'gantt', u'tree', u'form']"}

  /opt/openerp/web/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object>, *args=('view_calendar', 'calpopup', 'edit'), **kw={'context': "{'lang': u'en_US', 'active_ids': [270], 'tz': u'...eb', 'project_id': False, 'department_id': False}", 'domain': '[]', 'model': 'crm.meeting', 'view_ids': '[557, 558, 556, 555]', 'view_mode': "[u'calendar', u'gantt', u'tree', u'form']"})
     65         try:
     66             obj = pooler.get_pool().get_controller("/openerp/modules")
     67             if obj.has_new_modules():
     68                 pooler.restart_pool()
     69         except AuthenticationError:
  obj = None
  obj.has_new_modules undefined
  <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'has_new_modules'
      __class__ = <type 'exceptions.AttributeError'>
      __delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object>
      __dict__ = {}
      __doc__ = 'Attribute not found.'
      __format__ = <built-in method __format__ of exceptions.AttributeError object>
      __getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object>
      __getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object>
      __getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object>
      __hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object>
      __init__ = <method-wrapper '__init__' of exceptions.AttributeError object>
      __new__ = <built-in method __new__ of type object>
      __reduce__ = <built-in method __reduce__ of exceptions.AttributeError object>
      __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object>
      __repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object>
      __setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object>
      __setstate__ = <built-in method __setstate__ of exceptions.AttributeError object>
      __sizeof__ = <built-in method __sizeof__ of exceptions.AttributeError object>
      __str__ = <method-wrapper '__str__' of exceptions.AttributeError object>
      __subclasshook__ = <built-in method __subclasshook__ of type object>
      __unicode__ = <built-in method __unicode__ of exceptions.AttributeError object>
      args = ("'NoneType' object has no attribute 'has_new_modules'",)
      message = "'NoneType' object has no attribute 'has_new_modules'"

  The above is a description of an error in a Python program.  Here is
  the original traceback:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/opt/openerp/web/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/opt/openerp/web/openobject/controllers/_root.py", line 67, in default
      if obj.has_new_modules():
  AttributeError: 'NoneType' object has no attribute 'has_new_modules'
  [/code]

  
  I don't know if it is related, but we cannot see everyone's meetings in the calendar, unless we tick the checkbox for him. If no checkbox is ticked it shows only the meetings of one user. If all are ticked it shows only certain meetings. If only 3 of them are ticked it shows all of them....
  :? 
  This is in WEB interface. In GTK client it has similar issues. Not correct again.
  The problem is from yesterday.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/800108/+subscriptions


References