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

slots_mapped_in_domain not using name of form #344

Closed
ArjaanBuijk opened this issue Nov 17, 2020 · 0 comments
Closed

slots_mapped_in_domain not using name of form #344

ArjaanBuijk opened this issue Nov 17, 2020 · 0 comments
Labels
area:rasa-sdk 🧑‍💻 Everything that touches our python Rasa SDK type:bug 🐛 Something isn't working

Comments

@ArjaanBuijk
Copy link
Contributor

ArjaanBuijk commented Nov 17, 2020

Rasa version: current master branch
Rasa SDK version: current master branch
Python version: 3.7
Operating system (windows, osx, ...): LInux

Issue:
I think that this line is not correct.

The value of self.name() returns the name of a FormValidation action, not the name of a form, so the outcome of this is always empty:

return list(domain.get("forms", {}).get(self.name(), {}).keys())

Error (including full traceback):
The form gets canceled.

Command or request that led to error:
See slack thread about financial-demo.

@ArjaanBuijk ArjaanBuijk added type:bug 🐛 Something isn't working area:rasa-sdk 🧑‍💻 Everything that touches our python Rasa SDK labels Nov 17, 2020
@ArjaanBuijk ArjaanBuijk mentioned this issue Nov 17, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-sdk 🧑‍💻 Everything that touches our python Rasa SDK type:bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant