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

Domain schema validation fails with empty string for text key #6897

Closed
erohmensing opened this issue Oct 5, 2020 · 1 comment · Fixed by #6898
Closed

Domain schema validation fails with empty string for text key #6897

erohmensing opened this issue Oct 5, 2020 · 1 comment · Fixed by #6898
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@erohmensing
Copy link
Contributor

Rasa version:
2.0.0rc3

Issue:

Domain validation fails for an empty string in the text key. For example if you add this:

  utter_only_image:
    - text: ""
      image: "https://hi.com" 

This is the recommended way to send image-only messages as we require either the text or response key, but the check doesn't work correctly.

@erohmensing erohmensing added type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Oct 5, 2020
@erohmensing
Copy link
Contributor Author

closed in #6898

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant