'uploadWidgetDefinition.onAbort' method is not called when loader is aborted #1454
Labels
plugin:uploadwidget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:minor
Any docs related issue that can be merged into a master or major branch.
type:bug
A bug.
Milestone
Are you reporting a feature request or a bug?
Bug
Provide detailed reproduction steps (if any)
According to SDK there are few
on*
methods in uploadWidgetDefinition which are fired when loader status changes.However, even if
onAbort
is defined inuploadWidgetDefinition
it is not fired when upload is aborted (widget removed or editor switched toSource mode
during upload).Quick reproduction steps
Proper reproduction steps
uploadWidgetDefinition
containingonAbort
method is needed. Easy way may be to adjustuploadimage
plugin (by addingonAbort
method) and then test it on e.g./tests/plugins/uploadwidget/manual/image2
manual test.Expected result
onAbort
method fromuploadWidgetDefinition
is fired when uploading aborted.Actual result
onAbort
method fromuploadWidgetDefinition
is not fired when uploading aborted.Other details
uploadwidget
The text was updated successfully, but these errors were encountered: