Page 1 of 1

Attachment disappears after submitting a post

Posted: Fri Oct 25, 2024 11:18 pm
by grossws
I attached two screenshots in a new message in viewtopic.php?f=194&t=100614&start=300 and preview shows both attachments inline just fine.

After submitting a post unmoderated preview shows only one attachment and while user control panel's attachments lists both attachment meta only one image is available (same as shows normally as inline attachment in the post). Another one just shows error page "The selected attachment does not exist anymore".

Re: Attachment disappears after submitting a post

Posted: Sat Oct 26, 2024 9:50 am
by Koub
I can see both of your screenshots right now.

Re: Attachment disappears after submitting a post

Posted: Sat Oct 26, 2024 10:57 am
by grossws
Yeah, I too see both now. Idk what it was. But it was more or less persistent. When I saw the issue I edited the post, removed that attachment, reuploaded it and updated both inline links with the same result.

Re: Attachment disappears after submitting a post

Posted: Sat Nov 02, 2024 2:19 pm
by Hares
Noticed that one time after editing a post, re-uploaded the attachments. If it happens again -- I will write/notify.

Re: Attachment disappears after submitting a post

Posted: Tue Nov 05, 2024 12:19 pm
by Hares
@Koub, attachment disappeared here: viewtopic.php?p=632077#p632077
Note that I didn't edit the post this time (or so I thought).

Added:
Disappeared after edit here: viewtopic.php?f=6&t=119931&p=633286#p633286
Post edited by me to restore attachments.

Re: Attachment disappears after submitting a post

Posted: Wed Nov 06, 2024 10:39 am
by Koub
Hares wrote: Tue Nov 05, 2024 12:19 pm @Koub, attachment disappeared here: viewtopic.php?p=632077#p632077
Note that I didn't edit the post this time (or so I thought).
Thanks, I called help from the forum administrators, just in case they would have missed this thread. Hopefully, they will find what happened, and fix it if there is something to fix.

Re: Attachment disappears after submitting a post

Posted: Wed Jan 08, 2025 10:38 pm
by Hares
Again. This happens sometimes to me.
It looks this is somehow related to 125699: Pressing Ctrl+Enter while typing a post can sometimes lose it as it only happens when I either use Ctrl+Enter or accidentally use Enter while focus is on the post subject (but not always when done such way!).

Post in question: 125651: Enable burner inserter fuel leech

Edit: Adding specs
  • Browser Chrome v131.0.6778.205 (official), (64 бит)
  • OS: Windows 10 Pro 22H2, build 19045.5247

Re: Attachment disappears after submitting a post

Posted: Wed Jan 08, 2025 10:48 pm
by Hares
Yep. Looks like Ctrl+Enter while edit is a almost stable way to reproduce the issue.
Edit: Recording attached.
Click to see video

Re: Attachment disappears after submitting a post

Posted: Sun Feb 09, 2025 3:52 pm
by Hares
Still actual on the latest forum version.

Re: Attachment disappears after submitting a post

Posted: Wed May 21, 2025 11:38 am
by Hares
Still actual.
See recording attached
Click to expand the recording

Re: Attachment disappears after submitting a post

Posted: Wed May 21, 2025 2:10 pm
by Sanqui
This seems to be a bug in vanilla phpBB. To work around this for now I disabled the Ctrl+Enter feature. Thank you for the reproduction steps!

Re: Attachment disappears after submitting a post

Posted: Wed May 21, 2025 3:09 pm
by Hares
Sanqui wrote: Wed May 21, 2025 2:10 pm This seems to be a bug in vanilla phpBB. To work around this for now I disabled the Ctrl+Enter feature. Thank you for the reproduction steps!
From what I've looked for, this is just a hotkey for form submission. It's edit dialog causing problems.

Re: Attachment disappears after submitting a post

Posted: Wed May 21, 2025 3:58 pm
by Sanqui
Hares wrote: Wed May 21, 2025 3:09 pm
Sanqui wrote: Wed May 21, 2025 2:10 pm This seems to be a bug in vanilla phpBB. To work around this for now I disabled the Ctrl+Enter feature. Thank you for the reproduction steps!
From what I've looked for, this is just a hotkey for form submission. It's edit dialog causing problems.
I've been trying to reproduce the problem by pressing the Preview and Submit buttons and I'm not having success (on Firefox). Pressing enter when editing the Subject also doesn't cause an issue. But yeah, I believe it has something to do with indirect submitting of the form...