Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Duplicate names in relationship field cause processing error in EE5.2 but not EE5.1.3 #152
Description of the problem
The code unpacks information from a relationship field.
Under EE5.1.3 and before the sample code attached worked fine: generating a series of lists of anchor items with a heading before each, based on the content of a series of entries included in a relationship list.
Under EE5.2 the code fails to render output - instead simply returning the correct number of list items but with unformed content (
Conjecture that the issue is due to the name of the relationship field being duplicated in the template - a result of both parent and child entries in the main relationship field containing instances of the same field definition (so the same field name appears twice in series when accessing some elements).
Issue identified after routine upgrade of EE from 5.1.3 to EE 5.2.0.
How To Reproduce
Screenshots / Videos / Template Code