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] Uploading new custom modules versions don't remove deleted module hooks/actions #1570

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

Comments

@davidvitora
Copy link
Contributor

Describe the bug
When you upload a new custom module version, if you deleted a hook/action from the module, it is not deleted from the Botpress server when you upload the new version.

To Reproduce
Steps to reproduce the behavior:

  1. Create a custom module with a hook/action
  2. Upload to the Botpress server, check if those actions/hooks were created.
  3. Create a new custom module without these hooks and upload it to the Botpress server.
  4. Check that the hook/actions were not deleted.

Expected behavior
Botpress to remove deleted files.

Environment (please complete the following information):

  • OS: [e.g. iOS, macOS, Windows]
  • Browser [e.g. Chrome, Safari]
  • Browser Version [e.g. 83.0.4103.97]
  • Botpress Version [e.g. 12.10.0]
  • NodeJS [e.g. 12.13]
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