Edits to a post are missing, though the "Amended on <date>" is visible.

Posted by Daniel P on Mon 26 Mar 2018 03:43 PM — 7 posts, 31,433 views.

USA #0
I recently edited a post I made last week, and noticed that even with a hard refresh from the browser, all I see is that

  1. The post was edited with the "Ammended on Mon 26 Mar, 2018" but ...
  2. The changes I made (i.e. added a comment with an [edit] tag to http://mushclient.com/forum/bbshowpost.php?bbsubject_id=14209) are not actually visible.


Editing the post again shows that my changes have been correctly captured, though. Is this an issue with the software, or is there some new approval process to post edits?
USA Global Moderator #1
Weird. I opened your post to edit, and indeed I saw your edit content secretly hiding in there. But then when I saved it, everything now shows up.
USA #2
Odd. Sounds like a permissions issue might have gotten changed somewhere in the forum software.
Australia Forum Administrator #3
There was a change to the forum recently. Posts are now "cached" in a HTML version to save reworking all the forum codes every time they are viewed.

If the cached version was not updated then you would see the old version even if you edit it and see the new version. The cached text is not visible to you (except indirectly, when you view the post).

It looks like the caching failed to update in your case. Let me know if it happens again.
Amended on Mon 26 Mar 2018 09:12 PM by Nick Gammon
Australia Forum Administrator #4
There might be a race condition there. The cache is updated the first time the post is viewed (it was easier to do it that way) which might have somehow got the cached HTML replaced by the older version.

I had better do the job properly and update the cache at the exact time that the edit is aved.
Australia Forum Administrator #5
I've reworked the caching so that it is done at post amend time, not display time. This *should* fix the problem.
USA #6
Let's do a short test...

[EDIT] by adding this after the fact.
[EDIT] Yep. Seems to be fixed. Thanks, guys!