Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db update does not preserve name of saved favorite script #300

Open
dalers opened this issue Dec 10, 2024 · 3 comments
Open

db update does not preserve name of saved favorite script #300

dalers opened this issue Dec 10, 2024 · 3 comments

Comments

@dalers
Copy link
Collaborator

dalers commented Dec 10, 2024

I had one favorite saved ("Search Inventory Items") before performing db update 10. After performing db update 10 the favorite is listed as "undefined" in the "Commonly used scripts" selector.

The "undefined" entry can be deleted, and if saved again correctly shows "Search Inventory Items".

image

@dalers
Copy link
Collaborator Author

dalers commented Dec 10, 2024

There is related discussion in #270

@andrewcouling
Copy link
Collaborator

Following Tim's commits I found it necessary to manually delete favourites menu options from the database in table favourites, and clear browser cache with a hard reload.

@dalers
Copy link
Collaborator Author

dalers commented Dec 10, 2024

manually delete favourites menu options from the database in table favourites, and clear browser cache with a hard reload.

What should users be told after a db update? Only that they MUST Ctrl-F5? Does it seem a manual database cleanup is also required to delete users' carefully currated favorites after a db update?

I'm getting back into PHP/HTML and looked up "clear browser cache with a hard reload" to make sure I understood. Fwiw for the benefit of anyone who has come across this topic....

Source: Conversation with Copilot,

"Clearing the browser cache with a hard reload" means forcing your web browser to discard its stored (cached) version of a webpage and download the latest version from the server. This is useful when a webpage isn't displaying the most recent content or isn't functioning correctly due to outdated files in the cache.

Here's how you can perform a hard reload in different browsers:

  • Google Chrome:

    • Windows/Linux: Press Ctrl + F5 or Shift + F5.
    • Mac: Press Shift + Command + R.
  • Mozilla Firefox:

    • Windows/Linux: Press Ctrl + F5 or Ctrl + Shift + R.
    • Mac: Press Shift + Command + R.
  • Microsoft Edge:

    • Windows: Press Ctrl + F5 or Shift + F5.
  • Safari:

    • Mac: Press Command + Option + E to empty the cache, then click the reload button.

This process ensures that your browser fetches the most up-to-date version of the webpage, which can help resolve display or functionality issues.

[1] https://www.howtogeek.com/672607/how-to-hard-refresh-your-web-browser-to-bypass-your-cache/
[2] https://www.thewindowsclub.com/empty-cache-hard-reload-chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants