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
For all migrated items, GetMappedResult returns null for IEnumerable fields on the migrated types.
These are typically "Legacy Media" items. The media item is visible in the selector when editing the migrated page in the content tree. It is also possible to click "Edit" on the media item, and it correctly goes to the Edit screen in the Content Hub, where the image is also visible.
To work around the issue, I need to deselect the content item on the Page in the tree and then re-select the same content item. Once I do that, GetMappedResult correctly returns the content item in the property of that page. Additionally, if there are 3 different properties of type IEnumerable that are initially null, deselecting then reselecting just one will "fix" all three properties.
Output logs
There are no errors related to the page and content items in question.
Repro steps
Go to a migrated page in the content tree and note that media items are visible
Query the page with the ContentQueryExecutor.GetMappedResult and note that the media fields \ properties are null
Go to the migrated page in the tree, deselect the media item, then reselect it
Query the page with the ContentQueryExecutor.GetMappedResult and note that the media fields \ properties are populated
Test environment
v30.1.1
The text was updated successfully, but these errors were encountered:
is the database, that your query operates on, a result of migration by the newest MT release (2.4.0) or some previous version. If it was migrated by older version, is it possible to remigrate using 2.4.0? We've fixed a similar issue in 2.4.0.
If remigration is not possible, I would ask you for .bak backup of your disfunctional database. I'd be able to identify if the fixed bug is the root cause and provide a patch script.
Brief bug description
For all migrated items, GetMappedResult returns null for IEnumerable fields on the migrated types.
These are typically "Legacy Media" items. The media item is visible in the selector when editing the migrated page in the content tree. It is also possible to click "Edit" on the media item, and it correctly goes to the Edit screen in the Content Hub, where the image is also visible.
To work around the issue, I need to deselect the content item on the Page in the tree and then re-select the same content item. Once I do that, GetMappedResult correctly returns the content item in the property of that page. Additionally, if there are 3 different properties of type IEnumerable that are initially null, deselecting then reselecting just one will "fix" all three properties.
Output logs
There are no errors related to the page and content items in question.
Repro steps
Test environment
v30.1.1
The text was updated successfully, but these errors were encountered: