- Issue created by @mkalkbrenner
- Merge request !165Issue #3471987 by mkalkbrenner: Ease inheritance of ContentEntity datasource β (Merged) created by mkalkbrenner
- Status changed to Needs review
7 months ago 8:39am 4 September 2024 - π©πͺGermany mkalkbrenner π©πͺ
The API is inconsistent.
getItemId() checks for the current config.
getItemIds() doesnβt.
So getItemId() is not suitable for deletions caused by config changes.I consider that to be a bug.
- π©πͺGermany mkalkbrenner π©πͺ
My initial approach was to call getItemId() from getItemIds() but due to the different behaviour the tests failed.
But as this is a bigger issue I now introduced formatItemId() to have something small to overwrite. - π¦πΉAustria drunken monkey Vienna, Austria
drunken monkey β made their first commit to this issueβs fork.
- π¦πΉAustria drunken monkey Vienna, Austria
Thanks a lot for suggesting this! The changes do make sense, great if this helps other modules provide their own entity-based datasources.
I had a few remarks and pushed the associated suggested changes. If you are happy with those, Iβll merge. - π©πͺGermany mkalkbrenner π©πͺ
Looks good to me. I'll test the latest version of the patch on Monday.
- Status changed to RTBC
7 months ago 3:45pm 9 September 2024 - π©πͺGermany mkalkbrenner π©πͺ
I adjusted the code in search_api_default_content_deploy to the latest changes and it works :-)
- Status changed to Fixed
7 months ago 9:54am 14 September 2024 - π¦πΉAustria drunken monkey Vienna, Austria
Good to hear, thanks for testing!
Merged. -
drunken monkey β
committed ef28c777 on 8.x-1.x authored by
mkalkbrenner β
Issue #3471987 by mkalkbrenner, drunken monkey: Adapted the...
-
drunken monkey β
committed ef28c777 on 8.x-1.x authored by
mkalkbrenner β
Automatically closed - issue fixed for 2 weeks with no activity.