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

Adjust content type condition to evaluate to true when no content is displayed #15603

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

rwawr
Copy link
Contributor

@rwawr rwawr commented Mar 27, 2024

Adjust content type condition to evaluate to true when no content is displayed and the operation for the given condition is a negation to address. Fixes #15452.

rwawr added 2 commits March 27, 2024 10:36
…displayed and the operation for the given condition is a negation.
…ssuming all implementations of INegateOperation should return true when no content types are considered.
@Piedone
Copy link
Member

Piedone commented Mar 27, 2024

This is a follow-up from #15602. And now there's no policy bot... Anyway, you accepted the CLA.

Copy link
Member

@Piedone Piedone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems quite clear-cut to me, but I'm not sure if I'm missing something obvious. @deanmarcussen could you please also take a quick look?

@MikeAlhayek MikeAlhayek changed the title Adjust content type condition to evaluate to true when no content is displayed and the operation for the given condition is a negation to address. Fixes #15452. Adjust content type condition to evaluate to true when no content is displayed Mar 28, 2024
rwawr and others added 2 commits March 28, 2024 13:05
@MikeAlhayek MikeAlhayek merged commit 816cf84 into OrchardCMS:main Mar 28, 2024
4 checks passed
@rwawr rwawr deleted the fix-content-type-condition branch March 28, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content Type layer rule behaves unexpectedly on pages where no content is displayed with "Detail" display type
3 participants