Inconsistent issues saving UI changes

  • Goal:
    Saved changes are persisted to the next session

  • Steps:
    No consistent reproduction steps unfortunately as this is occuring at an inconsistent basis

  • Details:
    On an inconsistent basis, changes to my app are not persistent. If I edit the app for an hour, typically it will save everything up to the last 10 minutes. I'm using the Arc browser and only have one editor open at a time.

1 Like

noticing this too, rarely, but exacerbated by network connectivity (being in a large video call).

Hello @jierlich!

Sorry to hear you are having these issues. Inconsistent behavior is hard to reproduce.

Are you self-hosted or on cloud?

Do you have any details timeline wise on when these started and if they are still ongoing? If you are on cloud it could be related to updates we are testing out.

If you are self hosted it could be a bug in older versions of retool that have been patched.

As trz-justin-dev mentioned, network connectivity can also be a factor.

These inconsistent issues are hard to troubleshoot, but if you have them happen again, please open the browser inspector and check on the networking to see if the responses/requests have any info that can help us trouble shoot and screenshot those please!

I'm in the cloud. This has been happening for a few months now. Typically, its the last few edits that are not saved.

@jierlich Thank you for the follow up! Very odd, I apologize for the inconvenience.

I have had other users report intermittent issues with saving, a work around I found to make sure newest edit are always saved is to go into a query and click the save button.

This definitely feels less than ideal but it will pretty much guarantee that the app captures a snapshot of the current state of queries and components and makes a saving request to the database to cement any changes.

Let me know if that helps improve things! :sweat_smile:

I always both

  1. Explicity save the query
  2. Go into the top bar and click "save app"

Even when doing above sometimes the changes still are not persisted. Can your team look at my app to see what may be happening?

Hi @jierlich hope you had a good weekend.

Great to hear that you are doing both, very odd that recent changes are still not saving.

I can check with our team to see if we are able to get the logs for your Retool instance to see if we can see if anything is out of the ordinary. Will let you know what they say.

My hunch is that the browser where you are editing the Retool app is at times unsuccessfully sending the update data to the app on the cloud to save the changes.

So the logs might not be the most useful, but the network tab in your browser might be able to tell us if either the save requests are failing to send from the browser or if something else is happening such as the server responding with an error message, etc.

I just asked out team internally if they have seen this issue before. The said that saving issues tend to happen when multiple editors are logged in to the same app simultaneously.

Or when a user or multiple users have multiple tabs of the same app open. Just wanted to double check and make sure that neither of those could be going on with your or members of your Retool org.

Also from our team,

"If you save a query, navigate away from the page before the /api/save request completes and then come back the query will not have been saved."

"in their browser Dev tools as they're editing and keep an eye out for any failed /api/save requests."

Let me know if you see any of these can we can further trouble shoot based on what the request failure message is!

hey @Jack_T we are now experiencing the same behavior. it is VERY frustrating.

inside of multipage, i have gone to demo an app only to have none of the changes saved after a full day of work. three times now i have done the same changes, cut a new versioned released, ended the work day, and have it all gone by tomorrow. i hit Cmd+S to save, i released version, i worked in a single tab.

The version tag remains, and shows the correct timestamp for that release, but then none of the UI changes have stuck!

Hey @trz-justin-dev!

Super sorry you have having these issues! Just flagged this to our team internally to look at. Might be incident related but not sure.

What is the UUID for the app? Is this a multipage app?

If you have multiple tabs open, the other tabs could be overriding the saves on the working app tab with whatever that unused tabs app state is.

"as well as timeframes when they saw this issue occur to the degree that they can recall. We can look at the page_saves records for a big diff during that time frame."

Hopefully we can pull up the app's request logs in our servers and see if something is happening with the save requests or figure out if they are missing entirely and this is a browser side issue or something happening with us not saving the save requests properly!

Also for issues with recovering saves that are not persisted, check out this form post about reverting to previous saves in the apps history!

Hey @Jack_T thanks for your fast reply. No apologies necessary, I’m a satisfied Retool customer regardless!

That would be amazing if the logs could get looked at. I just wanna make sure it’s not something I’m doing wrong.

app UUID: fdb71c2c-5868-11ef-aa77-3b174b0289e4
page ID: 318663083

1 Like

Glad to hear that :sweat_smile:

You are a very strong developer so I highly doubt it is something you are doing wrong!

My best guess is this could be related to some changes we are pushing out/testing but not sure. Hopefully this will fix itself but we will go through you app logs and see if there's anything that catches our eye :saluting_face:

1 Like