Open bassamtantawi-botpress opened 2 years ago
Question, have you tried to unmount and mount your bot and see of that still occure ? Or even better, have you tried to restart the server and this still happens ?
Not that it's a fix but it'll help troubleshooting
Yes, I tried to restart the server, and it doesn't fix it. It is not related to any event, just when the files have the same name.
I believe this might be the display bug in the code editor's file tree where the selected file is only defined by the filename so when you copy a config file to a bot it looks like you have both the local and global config files selected when that is not the case, see https://github.com/botpress/v12/issues/1293
Describe the bug When clicking the global google-speech config then change to bot google-speech config, it still refers to the global one. Most probably because the two files have the same name, so the editor thinks it is the same fill
To Reproduce 1- Activate Google-Speech module 2- Go into your bot 3- Click the global google-speech configuration 4- Make a copy to your bot and fill it's details 5- Save and refresh
6- while in the bot, click the global google-speech config 7- click the bot google-speech config The opened file will still refer to the global file.
Expected behavior To view the file I clicked on
Screenshots![image](https://user-images.githubusercontent.com/89806971/133825656-f74d7ffa-3133-4421-a0dd-1eff44e40add.png)
Environment (please complete the following information): v12.26.0