-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Document type collection beneath DocType doesn't set parent correctly #4473
Comments
Hiya @KevinJump, Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more. We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed). To open it this issue up again, you can write For example:
This will reopen the issue in the next few hours. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
@umbrabot still relevant |
It seems like this issue occurs because the parent/child relationship is not added in the database.
You can also add a WHERE clause that only shows the parent type you need. Run the above query in the database and check if the binding exists. if it does not, find the nodeId of the broken doc type and the parent you need in the cmsContentType table and insert them with:
This should make your composition available. it might not show up right away, but build and remember to check your child doctype's config file. The parent key and composition should show up then. |
Thanks @mariamus! v8.2.1 is pretty old now, I just tried the reproduction steps in 8.18 and everything seems to work as expected. I'll close this again as it looks like it's been fixed along the way. |
Creating a Document Type Collection beneath another DocumentType doesn't create the parent composition relationship correctly. (v7.13.0 -> 7.13.2)
Reproduction
Expected : You should be able to see master properties inherited in these children.
Bug summary
When a DocType is created in a collection, the parentId is set, but the parent is not also added to the list of compositions for the doctype they are created under.
Creating a single Document Type under a parent does add that parent type to the list of compositions and you do see inherited properties from that parent in the newly created document type.
The text was updated successfully, but these errors were encountered: