Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was `<(result of a `unknown` helper)>` or `{{(result of a `unknown` helper)}}`, and the incorrect definition is the value at the path `(result of a `unknown` helper)`, which was: Object
The issue is that <Rental ...> got incorrectly compiled into a symbol lookup with the same symbol ID as |rental|. In other words, the compiler treated the template as if it was this:
This template gives the following error:
The issue is that
<Rental ...>
got incorrectly compiled into a symbol lookup with the same symbol ID as|rental|
. In other words, the compiler treated the template as if it was this:Naming the local variable something else that doesn't "conflict" with a component name inside the block fixes the issue. For example, this works: