Cockpit: Nested Collection Links

Created on 25 Jun 2018  路  2Comments  路  Source: agentejo/cockpit

Ran into an issue with the UI entry link menu when trying to port in a collection with a collection link that has a collection link , the relationship I have is parentCollection -> collectionLinkField -> collectionWithCollectionLink, the display shows as type [Object object]

the link selector pops up with this

image

These were made with the API, the one circled was made in the UI

Most helpful comment

looks like this is a potential solution https://github.com/agentejo/cockpit/pull/517/commits

All 2 comments

Was also able to reproduce strictly in the UI to make sure it wasn't my logic.
Steps to reproduce

  1. Create an a new collection named TestOne with a text field
  2. Create another collection named TestTwo with collection link field to the TestOne's text field.
  3. Create another collection named TestThree with collection link field to the TestTwo's text field.
  4. Create entries in the first two collections and observe the that TestOne Text field is not being represented as JSON in TestThree's collection link selector

looks like this is a potential solution https://github.com/agentejo/cockpit/pull/517/commits

Was this page helpful?
0 / 5 - 0 ratings

Related issues

desvu picture desvu  路  3Comments

crealx picture crealx  路  6Comments

poldixd picture poldixd  路  4Comments

erkand-imeri picture erkand-imeri  路  6Comments

RoelantStegmann picture RoelantStegmann  路  4Comments