powered by Jive Software

XIFF Status Incorrect Bug with Fix

Just found this small bug in the xiff library, I don’t see it as being fixed yet? In RosterItemVO.as the new value of status is not properly sent in the dispatch change event. The method:

public function set status( value:String ):void
{
var oldStatus:String = status;
_status = value;
dispatchChangeEvent(“status”,status, oldStatus);
}

should be:

public function set status( value:String ):void
{
var oldStatus:String = status;
_status = value;
dispatchChangeEvent(“status”, _status, oldStatus);
}

The only difference is the change of status to _status in dispatchChangeEvent.

Thank you,

Ryan

Thanks for pointuing that out, it seems a similar mismatch exists in several of the setters.