c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27586
[Bug 803370] [NEW] [TURNK] Unlinking Recurrent Meeting Produces Trace
Public bug reported:
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
** Affects: openobject-client-web
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References