peclik / clipboard_image_paste

Redmine plugin for pasting cropped image from clipboard as an attachment.
264 stars 118 forks source link

Functionality failure in Redmine 2.6.0 version #37

Closed lajish closed 10 years ago

lajish commented 10 years ago

Hi Richard, This morning I have installed redmine latest version 2.6.0. After installing clipboard_image_paste plugin, i found an issue regarding its functionality and position in issues page. Please have a look over attached picture below

image

If possible, please fix this issue since our organization, QA/QC team is highly depending on this functionality. Same link is again available at bottom of Issues list page.

Regards, Lajish Lakshmanan

jwalkerbg commented 10 years ago

I also tried it. It does not Paste images at all.

lajish commented 10 years ago

@jwalkerbg, You are right. This plugin hasn't got any update/bug fix past one year. There are many other plugins which are not working in 2.6.0

@peclik Please fix this issue.

Regards, Lajish Lakshmanan

peclik commented 10 years ago

I've tested now on 2.6. There is an issue in pasting image (Ctrl+V doesn't work) which I've fixed - not committed yet.

@lajish, regarding link position I suspect there is some incompatibility with some other plug-in. Can you try disabling other plugins and check the "Add picture..." link position?

lajish commented 10 years ago

@peclik, I tried uninstalling many plugins. Dislocation issue is due to presence of redmine_lightbox plugin. https://github.com/zipme/redmine_lightbox

But i am already using this plugin in 2.5.2. But there are no issues existing in same.

Regards, Lajish Lakshmanan

peclik commented 10 years ago

It's a problem of redmine_lightbox firing a javascript exception at lightbox.js:11

$("div.attachments a.lightbox, div.attachments a.swf").fancybox(options);

Thus clipboard_image_paste's javascript is not interpreted anymore. (Anyway I'm going to release fix for Ctrl+V mentioned above.)

jwalkerbg commented 10 years ago

You may try to replace redmine_lightbox with redmine_apijs.

lajish commented 10 years ago

@peclik,

Thanks..:)

jwalkerbg commented 10 years ago

it works now :)

tofi86 commented 10 years ago

note: redmine 2.6 updates it's jquery library to 1.11.1 which caused trouble with redmine_lightbox and it's plugin fancybox... This may also affect other plugins as well...