Searching for a string on an "index" page throws an AssertionError
when entity does not have any string property
#6223
Labels
Milestone
Describe the bug
Searching for a string on the "index" page of a CRUD controller throws an
assert($this->lexer->lookahead !== null)
AssertionError
when the CRUD controller's entity class does not have any property of typestring
(with ORM configuration).Note: Even if no string property is configured to be shown on the "index" page, its existence prevents the error to be thrown.
To Reproduce
Product
entity class that has anid
(integer) and anprice
(integer) property.Product
entityAssertionError
Product::$title
(string) property (with ORM configuration)AssertionError
(OPTIONAL) Additional context
The text was updated successfully, but these errors were encountered: