Closed (outdated)
Project:
Flexiform
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2017 at 12:05 UTC
Updated:
20 Feb 2018 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
yanniboi commentedComment #3
yanniboi commentedthis is currently hardcoded for the profile entity because the reference entity deriver (FormEntityTypedDataReferencedEntityDeriver) does not add the referenced entity type to the namespace (eg a profile on the user entity it specifies the user entity but not the profile entity) so there is no way of knowing which entity type to get the field definitions from unless we load the field properties from the field name and check the target entity.
Comment #4
yanniboi commentedThis worked for current user where the namespace doesn't have ':'s but not for reference entities where the namespace has several ':' prior to seperating the field_name
Comment #5
rlmumfordI don't think we need this patch, because namespace and plugin_id are two different things.
Comment #6
yanniboi commentedModule does not work as designed. Need to fix plugin id being used instead of namespace in form display config.
Comment #7
rlmumford