Opened 11 years ago

Closed 10 years ago

Last modified 7 years ago

#4484 closed bug (notabug)

dialog: setting certain options with certain values causes exceptions to be thrown

Reported by: ThrushAAX Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

Discovered after tweaking the unit tests to allow exceptions through.

.dialog('option','closeText',['array'])
.dialog('option','closeText',{obj:'ect'})
.dialog('option','postion',null)
.dialog('option','postion',[])
.dialog('option','postion',['array'])
.dialog('option','title',['array'])

Not sure how valuable it is to fix any of these as closeText and position are planned on being changed (i18n and positionTo) and who in their right mind would send anything besides text to title.

Change History (2)

comment:1 Changed 10 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed

Throwing an exception for such invalid values is the correct behaviour.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.