Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Losing edits in my posts



  • @AndyS
    Sorry to call you out explicitly. We have had discussions in other threads here about what is not working, but I thought I'd just start a new, clean one.

    Since the new update to the forum, I continue to report that among the problems I am still losing large quantities of edits I make.

    This seems to happen when I edit a post I have previously made. I type in a new paragraph, and commit. It seems to take OK at this point: I can refresh the page and my edits are there in the posts. But then I return to the page later, sometimes from the same PC sometimes from another one, same or different browsers, and all my edits have disappeared --- I think the post is back to how it was when I first added it. Going into edit mode does not help get them back, I've permanently lost everything I added.

    This just happened to me again about half an hour ago for my post at https://forum.qt.io/topic/108858/how-to-detect-two-click-events/3.

    I'm not saying this happens all the time, but it does happen quite frequently. I love Qt and I love contributing to this forum, but it's getting beyond frustrating. I totally respect that you support this forum out of love, not duty/pay! But if it were anywhere else I would have given up long ago as a "non-working" forum.

    This is in addition to the up-vote and forum post counts still being wrong all the time for me. From the thread listing page (e.g. https://forum.qt.io/category/10/general-and-desktop) I constantly see new posts with 1 post/noone has replied, yet when I go in there are several replies. I think the post counts are also wrong for other threads.

    I recognise that is only an "irritation", but the regular losing of posted content is getting beyond the pale. A while ago you did say you'd investigate whether you could see "updates from me" going wrong in your logs?

    The Qt forum was just perfect prior to the "security updates" a few months ago. Since then nothing but caching trouble, or whatever it is.

    Any progress? Many thanks for your time.


  • Moderators

    I know I have been absent a bit lately, I haven't forgotten anything but I am trying to juggle this with a number of other things and unfortunately this loses out.

    I believe the problem is due to caching and I believe it is due to our server side of things, I am trying to figure out if we can somehow disable it or work out what could be triggering it but so far I have had no luck. I am intending to get this fixed as soon as possible and I do apologise for the fact that this happened, unfortunately we couldn't have foreseen this issue and I was initially hoping that the issue was down to a version that was upgraded to that would have seen it fixed when we upgraded again.

    So I am going to focus on this, I will do as much as I can to get this fixed quickly and hopefully if the caching issue is solved that the other issues fall in line as a result.



  • @AndyS
    Thank you for your reply, and glad to hear this is still a priority. And you never need to "apologize"! :)


  • Moderators

    To update, I will attempt a fix for this today at 12 CET, fingers crossed!



  • @AndyS
    Great! What do you expect to be fixed?

    Yesterday I had the same thing again, where when I went back and appended some stuff to a post it got "lost" :( This time, however, going into edit mode on the post did retrieve the edits I had previously made, and pressing save (without making any further changes) did make the post show up for me with the stuff I had added earlier....


  • Moderators

    @JonB said in Losing edits in my posts:

    @AndyS
    Great! What do you expect to be fixed?

    Hopefully all of it, I believe it is all related to the same cause, so if this fixes one thing I am hoping it fixes the others too. Only one way to find out of course :)



  • @AndyS
    Yay!!!!! I'll buy you a beer if you succeed, but you have to buy me one if I still find fault.... ;)


  • Moderators

    @JonB said in Losing edits in my posts:

    @AndyS
    Yay!!!!! I'll buy you a beer if you succeed, but you have to buy me one if I still find fault.... ;)

    Hah, well it is partly educated guesswork so although I am hoping it helps, I won't know for sure until we try :)



  • @AndyS
    Beers, and joking, aside, I am still regularly losing edits I make to posts. For example on https://forum.qt.io/topic/109276/how-to-refresh-qtableview-after-an-sql-commit/18 at around or before 10am UTC. You did say at one point you would look at the server's "update logs" to see if you could psot anything?

    Since the problem appears even if I switch browsers and/or machines, I don't think it's anything to do with a cache on the client, rather your server. When I edit & commit the post I do see it "take" on the page. I think I can refresh and it's still there. But soon when I return to the post I notice the edits have disappeared.

    That's apart from the page display in wrong font for quite a while, eventually it changes over to the intended sans-serif fonts. While this is only an annoyance, I think it's also pointing to an issue at the server.

    EDIT I just edited the above paragraph to add something like:

    Plus the post vote counts are wrong. Plus the number of posts reported to be in threads from a forum's threads list page are wrong....

    After Submitting (with no error), I immediately refresh this page and they have disappeared into the blue yonder, Edit does not bring them back. It's so hard to remember never to click Submit without first copying the whole post I have just edited in case I lose it all :( And it just lost this new edit again, luckily I did remember to copy this time ... :@ :@ Now I see this line on the page, but when I click Edit it's not there, I cancel, refresh still on page, retry Edit, still not there, retry again and it is there again eventually.... Now I have later refreshed/gone to different browser and all of it's gone, it's back to how it was a while ago; I keep refreshing and after a while it comes back with these edits.... I didn't experience any of these behaviours before the forum update now a few months of frustration ago....

    Can you get the powers who employ you to remove everything else from your task list and just pay you to sort this out now? ;-)


  • Moderators

    @JonB Out of curiosity - do you see your changes listed when you go to the post menu and select "Edit history"? To me it shows 15 revisions for the post you linked and I can switch to see them. Is it also visible on your end?



  • @AndyS
    Let me make a new post, as the above one is haywire for me. Just on the subject of the losing edits, I think you should know

    • I edit a post and submit.

    • I sit and click browser Refresh over a period of time. Some of the time the post shows without the edits, some of the times with the edits, and regularly swaps either way. This goes on and on for ages, I don't know if/when it ever settles down. I can no longer even tell which version is "really" on the forum, or what other people or I will see when viewing it.

    • To me this points to: (hopefully) the changes are being accepted at the server end, but the server maybe has cached old copies. Even in response to browser refresh, it "randomly" delivers sometimes the most up-to-date copy, sometimes an older cached one...?



  • @Chris-Kawa
    Umm, where exactly is "when you go to the post menu and select "Edit history""? I don't know where you mean. If you mean the "..." vertical to the right of my posts, where I can Edit, I don't see any "post history"....? Nor from any of the buttons?

    EDIT Whoops I found it, hang on....

    Yep, I get 15 revisions on https://forum.qt.io/topic/109276/how-to-refresh-qtableview-after-an-sql-commit/18 . I get 8 revisions for the problematic https://forum.qt.io/topic/108860/losing-edits-in-my-posts/9 above. I'm not yet convinced they are right, though, they may be being subjected to wrong-caching too....



  • @Chris-Kawa
    I'm giving up now. The post I have made immediately above and edited is subject to the same problem. I cannot even post here without losing or not losing my edits on & on, it's taking me the whole morning to keep refinding what I have done which sometimes shows and sometimes not, it;s too frustrating to even type replies any more, but thank you.



  • @Chris-Kawa
    I think the post history is correct. I'm not certain though whether when I view each one sometimes that itself is subjected to caching problems and shows different, I don't know.



  • And finally, when I do look at https://forum.qt.io/topic/109276/how-to-refresh-qtableview-after-an-sql-commit/18 post even now an hour on, it's random whether I see what (I hope to be) the final, up-to-date version with all the edits or some older version without. I refresh on & on and it just varies what it shows.....!!!



  • ...and the same for my edits on this page...

    I'm making a new post reply each time because seemingly I do get to see these without problem, unlike editing.

    I really am going now... !

    @AndyS , or @Chris-Kawa
    I hope the above might give you some clue. I'd be really grateful if someone gets a handle on this, it's crazy!



  • Right, final post! :) I think a further useful clue.

    I'd say my Edit history is correct, in that it shows the right number of revisions at the right times.

    However, as I click through those revision contents, sometimes they are correct, sometimes I think they all show the same content, probably the unedited original or an early one. So they too are subject to the caching or whatever issue. And when the real page is correctly showing the latest edits the whole history contents are correct too. When the real page is incorrectly showing some old content, each of the revisions all show the same single old content too.


  • Moderators

    @JonB I have been discussing this and the general problem with IT here and we are confident we have the cause of the problem. That wa swhat we attempted to fix last time but the problem was that the fix meant the server had problema managing the load. So they are trying to figure out what we can set it to so that it solves the problem and also allows it to manage the load.

    I will be away for a few days but we should have a plan ready to try again shortly which hopefully gets it working in all aspects again.



  • @AndyS
    Thank you. I am glad that my promise of a beer is clearly the prime motivation for you & your colleagues ;) Look forward to your return!



  • @AndyS
    So I see the latest announcment:

    Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

    This is not great :( So.... is there anything which can actually be done to get back to the forum where it used to work without any of these problems? It's all very well saying the upgrade was needed for "security", but months later we still have a dysfunctional forum in its place....

    All said in the politest way, I know you are doing your best.... !


  • Moderators

    @JonB said in Losing edits in my posts:

    This is not great :( So.... is there anything which can actually be done to get back to the forum where it used to work without any of these problems? It's all very well saying the upgrade was needed for "security", but months later we still have a dysfunctional forum in its place....

    We already know what to try next, but this requires help from IT to get it right, I am waiting for input from them about it before I can try that. But it is not possible to downgrade and even then it might not help, the problem is mainly down to how we have set up our load balancing, it triggers the cache issue with NodeBB so we are trying to find the right settings that get it working without breaking the forum entirely. I have been able to confirm that it is the cause of the problem, but only the production one has the best way of showcasing the actual load so we have to be careful with making changes.

    All said in the politest way, I know you are doing your best.... !

    Thanks, I wish it hadn't gotten into this situation, but hopefully we will have this sorted out ASAP


Log in to reply