Modify ItemWbSearchEntitiesControllerso that it catches use cases errors and wraps them in a EntitySearchException, for SearchEntititiesto catch them (for now).
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Search: Wrap UseCaseError from ItemPrefixSearch in EntitySearchException | mediawiki/extensions/Wikibase | master | +31 -14 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T413959 Refactor wbsearchentities to use hexagonal architecture | |||
| Resolved | None | T413963 Create controller implementations calling the corresponding entity type-specific use case | |||
| Open | None | T404043 [EPIC] Use Item/PropertyPrefixSearch use case implementations for wbsearchentities | |||
| Resolved | Ifrahkhanyaree_WMDE | T421994 🧄 Use ItemPrefixSearch use case implementations for wbsearchentities | |||
| Resolved | Dima_Koushha_WMDE | T422136 🧄 Convert any errors coming from ItemPrefixSearch to look like the current wbsearchentities errors |
Event Timeline
Comment Actions
Change #1276868 had a related patch set uploaded (by Dima koushha; author: Dima koushha):
[mediawiki/extensions/Wikibase@master] Search: Wrap UseCaseError from ItemPrefixSearch in EntitySearchException
Comment Actions
Change #1276868 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Search: Wrap UseCaseError from ItemPrefixSearch in EntitySearchException