Jignesh Rathod(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-961094-jir into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #961094 in OpenERP Addons: "Entering repeating event with no ending
brings down server"
https://bugs.launchpad.net/openobject-addons/+bug/961094
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-961094-jir/+merge/99001
Hello,
If we have created a recurrent meeting with 0 times repeat it will goes in to
infinite loop.
And this should not be possible that we can create a meeting for 0 time.That's
why I have restricted to create a recurrent meeting with 0 times.
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-961094-jir/+merge/99001
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-961094-jir.
=== modified file 'base_calendar/base_calendar.py'
--- base_calendar/base_calendar.py 2012-03-05 14:35:54 +0000
+++ base_calendar/base_calendar.py 2012-03-23 10:56:21 +0000
@@ -1002,8 +1002,8 @@
event = datas['id']
if datas.get('interval', 0) < 0:
raise osv.except_osv(_('Warning!'), _('Interval cannot be negative'))
- if datas.get('count', 0) < 0:
- raise osv.except_osv(_('Warning!'), _('Count cannot be negative'))
+ if datas.get('count', 0) <= 0:
+ raise osv.except_osv(_('Warning!'), _('Count cannot be negative or 0'))
if datas['recurrency']:
result[event] = self.compute_rule_string(datas)
else:
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp