You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've created a very simple article bundle based on the ContentBundle. So far it works great! Persisting new and existing entities in the database works fine. But indexing an entity fails due to an "array to string conversion".
After some debugging and hints from Alex in Slack, we've found that <tag name="sulu.search.field" role="image"/> seems to be the culprit. Removing this line will result in a successful indexing.
Related note: Using <tag name="sulu.search.field" role="image"/> with a content element on pages works fine.
Expected behavior
Entity is successfully persisted and indexed.
Actual behavior
Entity is successfully persisted in the database but indexing fails with the following exception:
We've created a very simple article bundle based on the ContentBundle. So far it works great! Persisting new and existing entities in the database works fine. But indexing an entity fails due to an "array to string conversion".
After some debugging and hints from Alex in Slack, we've found that
<tag name="sulu.search.field" role="image"/>
seems to be the culprit. Removing this line will result in a successful indexing.Related note: Using
<tag name="sulu.search.field" role="image"/>
with a content element onpages
works fine.Expected behavior
Entity is successfully persisted and indexed.
Actual behavior
Entity is successfully persisted in the database but indexing fails with the following exception:
Example
Here is our template example:
The text was updated successfully, but these errors were encountered: