Closed (fixed)
Project:
Paragraph View Mode
Version:
8.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2020 at 14:08 UTC
Updated:
17 Aug 2020 at 22:34 UTC
Jump to comment: Most recent
Comments
Comment #2
dan_metille commentedHere is the remaining part of the above error message:
Comment #4
sayco commentedHi @sahaj, thank you for reporting the issue! This seems like a critical issue in the module. I haven't considered the entities that are not fieldable. Anyway, the best option was to check if the given entity in hook_entity_view_mode_alter is an instance of ParagraphInterface as this is the only entity type interface we are interested in. I've already committed the changes to dev branch, soon I will release a new version, as this issue seems to be very crucial.
Comment #5
sayco commentedComment #6
dan_metille commented@sayco very quick! I can confirm that this is fixed for me. Big thanks!