← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1258328] [NEW] base_calendar_id2real_id: int(base_calendar_id) can return an exception instead of false

 

Public bug reported:

In the function base_calendar_id2real_id of base_calendar the expression

return base_calendar_id and int(base_calendar_id) or base_calendar_id

might results in exception depending on Python version and calendar
data.

** Affects: ocb-addons
     Importance: Undecided
         Status: New


** Tags: 6.1 7.0

** Branch linked: lp:~hirt/ocb-addons/6.1_calendar_fix_id2real_id

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Addons).
https://bugs.launchpad.net/bugs/1258328

Title:
  base_calendar_id2real_id: int(base_calendar_id) can return an
  exception instead of false

Status in OpenERP Community Backports (Addons):
  New

Bug description:
  In the function base_calendar_id2real_id of base_calendar the
  expression

  return base_calendar_id and int(base_calendar_id) or base_calendar_id

  might results in exception depending on Python version and calendar
  data.

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


Follow ups

References