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

Org instance info does not update #167

Closed
hvilminko opened this issue Sep 28, 2023 · 4 comments
Closed

Org instance info does not update #167

hvilminko opened this issue Sep 28, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@hvilminko
Copy link

Our customer's Salesforce org recently moved to a new instance. After the migration I noticed that the instance information shown by Inspector was still pointing to the old one. I deleted the "orgInstance" key-value pair in local storage and a new value got created after next login. But should the instance be updated automatically without need for manual tweaking?

@hvilminko hvilminko added the bug Something isn't working label Sep 28, 2023
@tprouvot
Copy link
Owner

Hi @hvilminko,
You're right the value is stored in localStorage to avoid multiples callout for something is not supposed to change really often .
Was this change occurred after a support case to switch org instance to a preview / non preview ?
I can consider to perform the query each time but I though it would be overkill.

We have a feature in development to add a new tab "Org Info" which will display org instance, current version / patch and coming releases dates. When it will be release, I'll remove the org instance info from the pop up to relocate it in the new tab

@hvilminko
Copy link
Author

In this case the customer's orgs were migrated to Hyperforce which seems to be a growing trend, but org migrations sometimes happen for other reasons as well. They are indeed quite rare but would it be reasonable to query SELECT InstanceName FROM Organization once per session? Otherwise the instance name will stay the same forever?

@tprouvot
Copy link
Owner

tprouvot commented Nov 8, 2023

Hi @hvilminko
This will be fixed in 1.21 version

@hvilminko
Copy link
Author

For now I have manually deleted the values for a couple of orgs that have been migrated to Hyperforce. But it's good to know that this will not be needed in the future!

tprouvot added a commit that referenced this issue Nov 10, 2023
Fixing #167 
Will be merge after releasing the 1.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants