oaeproject / 3akai-ux

Open Academic Environment (OAE) Front-End
http://www.oaeproject.org
Educational Community License v2.0
134 stars 206 forks source link

Etherpad copy/paste bug #3546

Closed nicolaasmatthijs closed 10 years ago

nicolaasmatthijs commented 10 years ago

I am getting a bug while editing a document.

I cut some text from the document, then paste it in lower down the document. As soon as I do that, I get the error message shown in the attachment.

I can then reload the page and the pasted text has disappeared. I can then continue editing. But as soon as I try to paste in the text again, I get the same "disconnect" error message.

The text I am trying to paste in is: "We recently announced a partnership with the Apereo open source software foundation that has incubated the OAE software and you can find a press release about it here: http://www.researchresearch.com/index.php?option=com_content&view=article&id=196&template=rr_2col"

I am working in Chrome for Mac Version 32.0.1700.102

screen shot 2014-02-19 at 12 17 43

sathomas commented 10 years ago

That's the problem I was having during sprint planning. It seems to depend on how one does the paste. Using a key-shortcut (Cmd-V) works, but pasting using right-click from the mouse didn't. FWIW, though, I can't reproduce the problem myself now.

sathomas commented 10 years ago

Seems like the most reliable way to reproduce this bug is to paste a lot of content at once. Pasting a word or two doesn't seem to (often) trigger it, but pasting several paragraphs seems to trigger it every time.

sathomas commented 10 years ago

The bug happens even if you open the etherpad <iframe> in a separate window, so that should rule out any <iframe> issues or anything related to the OAE context. (FWIW, I cannot reproduce the bug on beta.etherpad.org but that site is probably running a different version with different plugins, so I doubt that helps much.)

nicolaasmatthijs commented 10 years ago

Annoying that it doesn't happen on beta.etherpad.org. @sathomas : Can you reproduce locally? It might be worth disabling the spellcheck plugin to exclude that as the potential cause.

sathomas commented 10 years ago

No, unfortunately, I could not reproduce the bug locally at all. I can't even reproduce it on release0. Only place I can consistently make it happen is on production :(

(FWIW, the disconnect happens before any content is actually pasted, so my experiments didn't actually change any content.)

sathomas commented 10 years ago

Also, FWIW, the bug consistently happens in both Safari and Chrome (didn't check FF), so it's probably not a browser-specific issue (though I suppose it could be webkit related)

mrvisser commented 10 years ago

Might be worth investigating the potential of an Nginx issue. Both SSL and Nginx version could be a factor, though I think the version on QA0 is the same as on production.

sathomas commented 10 years ago

Just checked, and it happens consistently with FireFox as well (on production)

mrvisser commented 10 years ago

Production and QA0 are both 1.5.6-1~precise0

sathomas commented 10 years ago

Can't reproduce it on QA0 even when using https

nicolaasmatthijs commented 10 years ago

Putting On Hold until we've upgraded Etherpad to the latest version

simong commented 10 years ago

I can't reproduce this on Etherpad 1.4.0. I'm going to close this ticket, if this comes up again, feel free to re-open it.