Skip to content
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

Missing content definition in a ListPartSettings throws an exception #13767

Closed
MikeAlhayek opened this issue May 29, 2023 · 0 comments · Fixed by #13768
Closed

Missing content definition in a ListPartSettings throws an exception #13767

MikeAlhayek opened this issue May 29, 2023 · 0 comments · Fixed by #13768
Labels
Milestone

Comments

@MikeAlhayek
Copy link
Member

Describe the bug

If the ListPartSettings.ContainedContentTypeDefinitions contains content type that is deleted "no more definition", the UI throws a null exception.

To Reproduce

Steps to reproduce the behavior:

  1. Create Content Type X and Y
  2. Add ListPart to Y and in the ListPartSettings settings, assign X as the contained content type.
  3. Add new item of Y.
  4. Removed the definition of X content type.
  5. Try to view/edit the item created in step Y.

Expected behavior

No exception should be thrown and the invalid content type should be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants