Destroy method inconsistencies and error in Room and MUCOwnerExtension.

Description

The destroy method does not require an alternateJID parameter to be passed in, but is used in the method body without checking if it exists.
If an alternateJID is not passed in, alternateJID.escaped results in a TypeError: Error #1009: Cannot access a property or method of a null object reference.

alternateJID in MUCOwnerExtension is required as a parameter yet is checked to make sure it exists in the method body.

Either both should be not required and checked for existence or both should be required.

Environment

None

Activity

Juga Paazmaya 
January 14, 2010 at 2:15 PM

Both methods with optional alternateJID

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 6, 2009 at 8:04 AM
Updated January 14, 2010 at 2:15 PM
Resolved January 14, 2010 at 2:15 PM