v12 icon indicating copy to clipboard operation
v12 copied to clipboard

[BUG] Google-Speech configuration | Refers to the Global Config

Open bassamtantawi-botpress opened this issue 4 years ago • 3 comments

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

Environment (please complete the following information): v12.26.0

bassamtantawi-botpress avatar Sep 17 '21 16:09 bassamtantawi-botpress

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

EFF avatar Sep 18 '21 15:09 EFF

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.

bassamtantawi-botpress avatar Sep 19 '21 07:09 bassamtantawi-botpress

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

charlescatta avatar Oct 06 '21 17:10 charlescatta