jovotech/jovo-framework

Entity does not get parsed properly

bertmeeuws opened this issue · 1 comments

I'm submitting a...

  • Bug report
  • Feature request
  • Documentation issue or request
  • Other... Please describe:

I have an intent AmountIngredient:

RawInputType is freeText

image

When I use a handler with intent AmountIngredient in my WelcomeComponent (the default component after our global one)
The entities get properly parsed.

image

But whenever I am in a different component, a component that handles recipes in our app the intent gets matched but the entities do not get parsed.
image

After hours of trying I still don't have an explanation, how can it be that it works in one component but not in another?

You would help me a ton if someone has an answer

Expected Behavior

Jovo should parse the entity correctly

  "intent": {
    "name": "AmountIngredient",
    "params": {
      "rawInput": {
        "original": "kaas",
        "resolved": "kaas"
      }
    },
    "query": "hoeveel kaas"
  },

Current Behavior

image

Error Log

If you have an error log, please paste it here.

Your Environment

  • Jovo Framework version used: 4.2.4
  • @jovotech/platform-googleassistant": "4.2.4"
  • "@jovotech/plugin-debugger": "4.2.4"
  • Operating System: OSX Monterey 12.2

I've come a little bit closer to an explanation, it has something to do with the scene switch.