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

IBX-9169: Add the ContentName criterion handler to trash handler #448

Open
wants to merge 2 commits into
base: 4.6
Choose a base branch
from

Conversation

barw4
Copy link
Contributor

@barw4 barw4 commented Nov 4, 2024

🎫 Issue IBX-9169

Related PRs:

ibexa/admin-ui#1388

@@ -78,6 +78,7 @@ services:
tags:
- { name: ibexa.search.legacy.gateway.criterion_handler.content }
- { name: ibexa.search.legacy.gateway.criterion_handler.location }
- { name: ibexa.search.legacy.trash.gateway.criterion.handler }
Copy link
Member

@alongosz alongosz Nov 4, 2024

Choose a reason for hiding this comment

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

AFAICS you need to add test coverage for it via \Ibexa\Tests\Core\Persistence\Legacy\TestCase::getTrashCriteriaConverterDependency.

Haven't touched this in a while. Hopefully nothing explodes 🤞

Please see how it's used and if anything else is needed there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching that.

It's used as part of Location\Gateway for listing and counting trash items and therefore by TrashService. I suspect TrashService would explode immediately if there were any issues with it.

Copy link

sonarcloud bot commented Nov 4, 2024

@barw4 barw4 requested a review from a team November 5, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants