I've recently added a new environment to our Retool Cloud instance. I've added configurations for the three resources we use the most. In one of my apps, switching environments is disabled, with an unhelpful message.
I've verified that all of the resources in this app have a valid configuration. One of the queries is imported from the query library (which also uses a resource configured for this environment).
This environment works in some other apps, but not all. In the apps where I know a resource configuration is missing, the tooltip is similarly blank.
Hi @apurcell. Looks like there is a bug in our UI in displaying the list of resources without environment. I'll file a task for it. For this issue though, I've tested and it seems to work normally. Can you double-check that the resource used for each query have dev-purcell environment setup, including the imported query? If you can share some screenshot, it'll help us debugging this issue.
Yep, I've double checked. There are only two resources now (in addition to JS queries and transformers) and they are both configured for the environment.
Is there a way you can check it on our instance rather than me uploading a bunch of screenshots of configuration?
Thank you @jg80. Looks like in the other ticket there are a lot of pictures of the configuration. I'll take a look and get back to you when I have an answer for this issue.
@apurcell I'm glad you've figured out the issue! I've also found the root cause why the message is incorrect. I've put up a fix for it so from next week, the error message should be more helpful in pointing out which resource is missing an environment.