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

ListPart with "Show container's header" checked on a un-published content throw exception #14472

Closed
giantpenguin opened this issue Oct 10, 2023 · 1 comment · Fixed by #14473
Labels
Milestone

Comments

@giantpenguin
Copy link

giantpenguin commented Oct 10, 2023

Describe the bug

To Reproduce

Steps to reproduce the behavior:

  1. Have a Content Type named "Common Page" has its TitlePart
  2. Have a Content Type named "Container Page" has its TitlePart and a ListPart. This ListPart has its "Show container's header" checked and has the "Common Page" is checked in the "Contained Content Types".
  3. Create a new content of the "Container Page" but just "Save Draft"
  4. Under the draft "Container Page", click on the "Create Common Page" to create a new "Common Page" content, see this error:

An unhandled exception occurred while processing the request.
ArgumentNullException: Value cannot be null. (Parameter 'contentItem')

Expected behavior

The Create new page must be opened successfully

Screenshots

image

Note that, un-check the ListPart's "Show container's header", the error does not occur.
It is on OC 1.7

@MikeAlhayek
Copy link
Member

@giantpenguin Thank for reporting this issue and the details you provided to easily re-produce the issue. A fix was submitted for this issue #14473

@MikeAlhayek MikeAlhayek added this to the 1.x milestone Nov 3, 2023
@MikeAlhayek MikeAlhayek modified the milestones: 1.x, 1.8 Jan 2, 2024
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