← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 803370] Re: [TURNK] Unlinking Recurrent Meeting Produces Trace

 

Hello Amit, 
    I am sorry but you have tested the bug wrong way, You have check the  boolean field "Recurrent" but when you click this it will not create any recurrent meeting by default you need to decide what you want to recurrent. i have shown that below attached video.

I have shown how to produce bug in video and in detail steps are like this
  1) Create Meeting
  2) Goto "Recurrency Option" Page Choose any value in "Recurrency period " and than create meaningful Recurrent meeting
  3) WebClient - Switch to  List View here you will find are instance of recurrent meeting select any Virtual Meeting and Click Delete.
  and the Trace as posted above 

Hope this will help You
Thank You


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

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

Title:
  [TURNK]  Unlinking Recurrent Meeting Produces Trace

Status in OpenERP Web Client:
  Confirmed

Bug description:
  Hello, 
  Server - 3484
  web-client - 4666

  Steps to produce Bug :
   1) Create Reoccurring Meeting ,
   2) Switch to  List View Choose any instance of the recurrent meeting  and click delete, it will give following trace:

     [2011-06-29 14:55:21,254][?] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/tiny/rdtools/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/tiny/rdtools/server/trunk/openerp/osv/osv.py", line 174, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/tiny/rdtools/server/trunk/openerp/osv/osv.py", line 165, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/tiny/rdtools/addons/trunk/base_calendar/base_calendar.py", line 1433, in unlink
      data_list = self.read(cr, uid, [id], ['date', 'rrule', 'exdate'], context=context)
    File "/home/tiny/rdtools/addons/trunk/base_calendar/base_calendar.py", line 1391, in read
      select = map(lambda x: (x, base_calendar_id2real_id(x)), select)
    File "/home/tiny/rdtools/addons/trunk/base_calendar/base_calendar.py", line 1391, in <lambda>
      select = map(lambda x: (x, base_calendar_id2real_id(x)), select)
    File "/home/tiny/rdtools/addons/trunk/base_calendar/base_calendar.py", line 88, in base_calendar_id2real_id
      return int(real_id)
  ValueError: invalid literal for int() with base 10: '[4'

  
  After Tracing RPC, problem is something like this :
  When you try to delete recurrent meeting instance the virtual id given to unlink method is :
      ['[4'-'20110915143000]']
  actual expected value is 
     ['4-20110915143000']

  Thank You

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


References