-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload widget paste listener ignores changes in the uploadWidgetDefinition #1068
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:uploadwidget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:bug
A bug.
Milestone
Comments
mlewand
changed the title
Uploadwidget paste listener ignores changes in the uploadWidgetDefinition
Upload widget paste listener ignores changes in the uploadWidgetDefinition
Oct 19, 2017
mlewand
added
plugin:uploadwidget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
type:bug
A bug.
labels
Oct 19, 2017
mlewand
added a commit
that referenced
this issue
Oct 23, 2017
Comandeer
pushed a commit
that referenced
this issue
Nov 6, 2017
mlewand
added a commit
that referenced
this issue
Nov 6, 2017
mlewand
added
the
target:major
Any docs related issue that should be merged into a major branch.
label
Nov 9, 2017
2 tasks
Comandeer
pushed a commit
that referenced
this issue
Nov 13, 2017
mlewand
added
the
changelog:api
A changelog entry should be put in the API section of the changelog.
label
Dec 1, 2017
Comandeer
pushed a commit
that referenced
this issue
Dec 5, 2017
Comandeer
pushed a commit
that referenced
this issue
Dec 27, 2017
Comandeer
pushed a commit
that referenced
this issue
Dec 27, 2017
mlewand
added a commit
that referenced
this issue
Feb 5, 2018
Comandeer
pushed a commit
that referenced
this issue
Feb 6, 2018
Comandeer
pushed a commit
that referenced
this issue
Feb 6, 2018
jacekbogdanski
pushed a commit
that referenced
this issue
Feb 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:uploadwidget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:bug
A bug.
Are you reporting a feature or a bug?
Bug
Provide detailed reproduction steps (if any)
Expected result
Black square should appear, no exceptions of missing method should be logged in the console.
Actual result
Exception
Uncaught TypeError: d[m] is not a function
is reported.Other details
Reason why it happens is because
addUploadWidget
function inwidgetupload
plugin usesdef
that was given as an argument for the very first time. This object can not be modified by thewidgetDefinition
listeners.The solution here is to simply get the definition from
widgetRepository
inpaste
listener.Reproducible in all browsers.
The text was updated successfully, but these errors were encountered: