Booleans in syncdaemon.State should be always booleans

Bug #584290 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
magicicada gui
Fix Released
Critical
Facundo Batista

Bug Description

_on_status_changed may set the booleans attributes for current_state (is_xxx) to string instead of boolean.

I suggest setting the state using the bool() values instead of doing self.current_state._set(**state) since, as far as I understand, state may have string for is_xxx values.

Related branches

Changed in magicicada:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Facundo Batista (facundo)
Changed in magicicada:
importance: High → Critical
tags: added: magicicada-alpha1
Changed in magicicada:
status: Confirmed → Fix Committed
Changed in magicicada:
milestone: none → alpha1
tags: removed: magicicada-alpha1
Changed in magicicada:
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.