Skip to main content

Search and Top Navigation

#8775 closed bug (fixed)

Opened November 05, 2012 06:15PM UTC

Closed November 07, 2012 03:08PM UTC

Last modified November 13, 2012 04:00PM UTC

Widget: Bridge fails if widgetFullName is not supplied

Reported by: avinashrbhat Owned by:
Priority: minor Milestone: 1.9.2
Component: ui.widget Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

previously the plugin created for 1.8.16 was working perfectly. but lately after I upgraded to the 1.9.1 this functionality gets crippled. the error I encounter is:

TypeError: instance.option is not a function

PS: the plugin is not even being initialized.

Attachments (0)
Change History (6)

Changed November 05, 2012 06:39PM UTC by scottgonzalez comment:1

status: newopen

This broke in https://github.com/jquery/jquery-ui/commit/5fda4f6828ad523bd0692b76f903010a458fcac4. I suppose we can fall back to just the name if there's no full name.

avinashrbhat: Does that sound good to you?

Changed November 05, 2012 07:02PM UTC by avinashrbhat comment:2

Replying to [comment:1 scott.gonzalez]:

This broke in https://github.com/jquery/jquery-ui/commit/5fda4f6828ad523bd0692b76f903010a458fcac4. I suppose we can fall back to just the name if there's no full name. avinashrbhat: Does that sound good to you?

scott, i already made some changes to the original plugin that i was using to keep this bug from causing error. Also, as i write, I've found the culprit code and am trying to fixing it :-).

Changed November 07, 2012 03:06PM UTC by scottgonzalez comment:3

summary: plugins using $.widget.bridge breaks while porting from 1.8.16 -> 1.9.1Widget: Bridge fails if widgetFullName is not supplied

Changed November 07, 2012 03:08PM UTC by Avinash R comment:4

resolution: → fixed
status: openclosed

Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.

Changeset: 75bd22eb731f5a81099ad97c88eede3862195fec

Changed November 13, 2012 03:55PM UTC by Avinash R comment:5

Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.

(cherry picked from commit 75bd22eb731f5a81099ad97c88eede3862195fec)

Changeset: 8f098d88061adbdc2ec3c7e849dffc13fcf3f6ef

Changed November 13, 2012 04:00PM UTC by scottgonzalez comment:6

milestone: 1.10.01.9.2