I have a template for a custom type. When i click ‘+’ icon in the home view and select my custom type the relations are not displayed as per the template. Instead they are showing some placeholder which says ‘New Relation’ for every relation included in the template. But if i close the newly created object and reopen it then the relations are displayed correctly.
To Reproduce
Create a custom type and add a few custom relations to it.
Create a template for it which includes the relations.
Then go to the home screen and click the ‘+’ button and select this custom type.
The new object page will open with the relations not displayed as per the templated
Close the object and reopen and you will see the relations
Expected behavior
When the new object is created as per the template the relations need to be displayed.
Desktop (please complete the following information):
OS: Mac OS 11.4
Device: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
I consistently experience this same bug on two different machines (a Windows 10 and a Windows 11), but with the following quirk, which might be helpful to know about if @ratiocinate experiences it the same way:
When selecting Create ->New Object from a Type view, the template’s displayed relations appear correctly.
When selecting the + button in a Set view, the relations appear correctly.
When selecting the home screen’s + button, the bug described in the original post occurs. But if I immediately close the object and re-open it, I see that the relations actually are now correct and normal – they just initially displayed as “New Relation.”
When creating an object by typing @ and entering a non-existent name, the same bug occurs.
So is there something different about how objects are created in the latter two cases?
@nsmathew Thank you for your feedback! So looks like for some reason the template you have created has invalid state for the relations. I wasn’t able to reproduce it and create this broken template. The good news is that we are currently reworking how the relations work internally. And after we release it, this issue most likely will not be possible anymore.
We are planning to release this version at the end of September.
In the meantime you can try to recreate the template you have after all relations become visible. Let me know if this will help