Closed (fixed)
Project:
Profile
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Nov 2021 at 19:20 UTC
Updated:
18 Nov 2021 at 15:34 UTC
Jump to comment: Most recent
The JSON:API throws an AssertionError exception when trying to load a user with multiple profiles. This is due to the computed field "$profile_type_id . _profiles" not including a cardinality to the BaseFieldDefinition.
Load a user with multiple profiles through the JSON:API.
Add cardinality to the BaseFieldDefinition.
See merge request.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mglamanComment #4
mglaman👏 Great find! I plan on merging once tests are green.
Comment #6
mglamanTests are green! Merged