Fixed Pasting image into post - issue when user clicks Post Reply before image uploads

limboclub

Active member
Affected version
2.0.12
1. Copy an image from the web.

2. Paste image into a post.

3. Before Uploading progress hits 100%, click Post Reply.

4. The text of your post is posted, but the image is attached to a new post reply.

Disable Post Reply before it hits 100%?

Allow Post Reply, but take no action until the image is 100% uploaded?
 
It looks like we do have code to handle this already, but it's for the "main" attachments system, as opposed to the pasting support of the RTE. Will have to investigate to see if we can hook into there and detect this situation.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 RC2).

Change log:
Detect whether content is still being uploaded into the RTE and confirm with the user before submitting the containing form.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 RC2).

Change log:

Any changes made as a result of this issue being resolved may not be rolled out here until later.
No chance of it appearing in 2.0? We wouldn't update to 2.1 until it was pretty mature so likely not for months after release.
 
I can investigate a back port, though once 2.1 is released (which will be quite soon), it's unlikely that we'll see any further 2.0 releases (except for security fixes).
 
Top Bottom