Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 812 forks source link

Images get no message id when used browser back and forwards #6620

Open rich20 opened 4 years ago

rich20 commented 4 years ago

Describe the bug https://www.kunena.org/forum/general-questions-and-how-tos/159139-attachment-not-found The problem arises when used browser back and again the forwards buttons after an attachment is already uploaded. The user can't see any mistake, because the Preview shows the complete message include attachment. But after save, gets this attachment in the table #_kunena_attachments the mesid 0

To Reproduce

  1. Upload a image and insert this image in the message.
  2. Use the browser back button and then go with the browser forwards button to the editor again.
  3. Click in the editor on Preview (admittedly you see the image in the preview but when you save the message, it lacks the mesid)
  4. Save the message

Now you see in the posted message the hint "You do not have permission to access this page." When you remove now in the Kunena diagnostic tool the orphaned attachments, changes the hint in this post to "Attachment not found"

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity.