relation_ids() fails if there are no relations

Bug #1182971 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
High
Matthew Wedgwood

Bug Description

If there are no relations, relation_ids() raises an ugly serialization exception rather than return None or an empty list. This causes lots of other things to fail, such as template rendering.

Revision history for this message
Matthew Wedgwood (mew) wrote :

This is fixed in MP#165028

Changed in charm-helpers:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Matthew Wedgwood (mew)
Matthew Wedgwood (mew)
Changed in charm-helpers:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.