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

[BUG] Replacing a bot keeps older bot files #1569

Closed
davidvitora opened this issue Dec 13, 2021 · 0 comments · Fixed by botpress/botpress#11371 or botpress/botpress#11451
Closed

[BUG] Replacing a bot keeps older bot files #1569

davidvitora opened this issue Dec 13, 2021 · 0 comments · Fixed by botpress/botpress#11371 or botpress/botpress#11451
Labels
bug Something isn't working

Comments

@davidvitora
Copy link
Contributor

Describe the bug
If you upload a bot '.tgz' file to replace a current bot present in the server (replace), the older bot files that were deleted are not removed.

To Reproduce
Steps to reproduce the behavior:

  1. Create a bot and a bot hook for that new bot
  2. Export the bot
  3. Modify the .tgz file by removing the hook that was also exported.
  4. Import the modified bot file with the same id and replace the original.
    image
  5. Notice how the hook continues in the bot folder.

Expected behavior
Botpress to just keep files present in the .tgz file

Environment (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Botpress Version 12.26.8
  • NodeJS 12.22.7
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
1 participant