Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8775 closed bug (fixed)

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.

Change History (6)

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

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?

comment:2 in reply to:  1 Changed 7 years ago by avinashrbhat

Replying to 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 :-).

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

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

comment:4 Changed 7 years ago by Avinash R

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

comment:5 Changed 7 years ago by Avinash R

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

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

Milestone: 1.10.01.9.2
Note: See TracTickets for help on using tickets.