Page 1 of 1

Problem Copying and pasting in confluence

Posted: Tue Apr 01, 2014 9:56 am
by Mandarinazul
Hi, I want to report a bug. Sometimes when I have several protoshare files in the same page of confluence, and I copy from one file, close it, and open and paste in another, javascript code (from copied information) replace the protoshare macro, and contents are not pasted in the second protoshare file.

Also I'm having trouble copying some images. Protoshare hangs several seconds and after that, data is not correctly copied. I think that base64 encoded PNG information causes the problem, because if I paste the copied info in any text editor, the JSON object is truncated.

Example:
End of copied code - With error

Code: Select all

HJkKyCht5QD0YpW8osRCCCRtCStsytMRpThpF37TOrH04G7PU5HDLcb4RNBTYV2FTgL2oFzvVT+fWuiRtG3xXcN96cNOY71gVZ6FjCOZYz3SGX8faeQ5crUUaspadd5LnCu0zlfpzoS9hSf6aZ2ZicObWrpr1N2bq9xznkrC8OGkbYrKF4W7Pn0GekxN5vSLP5SZgBRSRbOQkzk44tJeuGzIZzrIrvj+GcidfiL+iP1aG5vVloVPvWCD1il2dB9FfouA3fafhkJRJbrGissVbbS7Mi/jXJYIoIIkE0UUi81XSFL3Ob1kW1moQZUtYxlSbKUByWo74EeS9Fk+g11Z709O2yzodAiisQDb0Wh3quEGT5tOmKug0/0cdKP4axZUlT5vNUlhYYmQmamKHl5HOFoWSyOoIGE3CQI1AYpFg0YGYDs5DeGnaCvY6wWx1uSsZuDcEYwiO4nrWH44YlsxLUEBWOH1bA8R8BxhQNJk12IVB2Zzk+8pGPSPJf/at/Zff6E5/4hEeL2KvGqp3ogHdWXj5g8JSaR4UIRONJfDAYtlhZl55z6UlbiEQJRgihs9LULcmMghim0VhjzPUDYBWa4ZkasMwu+/pO6HK8kTcV2FRgU4FNBQ5YgTf55+oBf6q7VRzEw253GvXccf/Z5cazvJWt58B2J77B3O7UL6+cVZwlmSWqnOxlvWdgzhG6Ftt4mLWFz/lM+mBmJYKzoncJt16H8rpr6nOs3PyLdCJ2zZUtDaUo7oV4NTMq1pmGgNI0ySbgFhNlRt1aLm6YxksLAOW5mSsfFaJblJUbZDJH1yJkY8/1QjebMGM52HYeiofe4jpFteWRh6mZbSIbPy
End of copied code - Without error

Code: Select all

iaFk+ia2nko8uOBRKapq2Jq80AsZZ8BAaQ4HigBluhFLvWd7KQNuswMDObtTtHefO1TSDtRVsJ5miwk2lKmwHCE/k2h89KymLQoztv+XM02MlMhWhowqjrvEiIwWQHII0W7dOb/xdgAJiCk66EQJLCAAAAAElFTkSuQmCC","sizeInBytes":4671}},{"id":1138,"en":"IXLayoutState","oid":7,"acct":"sunbeam_hthedcij","vals":{"stateName":"Chat","valueNamesStr":"OFF\nON"}}]}
JS console does not show errors. I'm using chrome 33 for mac.

I'm uploading the image that causes the problem

Re: Problem Copying and pasting in confluence

Posted: Tue Apr 01, 2014 10:12 am
by Nick Jennings
Hi,

Thanks for reporting the issue. We will pass this information to our Developers to look into.

We'll respond via this post once we have any information about the issue.

Re: Problem Copying and pasting in confluence

Posted: Tue Apr 01, 2014 10:16 am
by Nick Jennings
Hi,

Could you please let us know what version of Confluence you are running? This will greatly help us troubleshoot.

Re: Problem Copying and pasting in confluence

Posted: Tue Apr 01, 2014 10:52 am
by Mandarinazul
Hi Nick, I think that I have installed the latest version.

Confluence Version: 5.4.3
Build Number: 4732

Re: Problem Copying and pasting in confluence

Posted: Wed Apr 02, 2014 1:53 pm
by alex
Hi,

Thanks for reporting this issue. It's the sort of bug that's hard to catch when testing because it only occurs when copying large amounts of data (including images over a certain size). I've tracked down the cause and identified a way to work around it, so we should be able to deploy a fix pretty soon.

Again, big thanks for reporting the bug, and we'll try to get it fixed as soon as we can.

~ Alex