What I’m trying to do:
When in the IDE you have the option to switch databases to “Use for Development” which is indicated by the star next to you different environments. What I’ve tried and what’s not working:
After switching databases (From Database A to B and Back to A) in the same session, I have to clear my cache, close my browser, or log out/in to activate access to the database again. I am not completely sure which of these three actions resolve the issue.
I am not sure if it is a combination of having different published branches/accelerated tables/python version or not, but it did not occur UNTIL I checked “Keep Server Running”
Here are the steps , once you created multiple databases:
I was able to recreate the bug. Thank you for your recreation steps! I also was only able to produce the error with “Keep Server Running”. The same issue occurs when you change the database for any published environments in the “Publish this app” dialog. Right now, you can get around the issue by unticking keep server running before switching then re-enabling it.
I’ll raise the issue internally and update this thread when it’s been fixed.