Problem/Motivation
A ConfigDuplicateUUIDException
is thrown in facets_update_8001()
with the following message: "Attempt to save a configuration entity 'search_api__views_page__search__page_1' with UUID '73c25fbf-c5c6-47ca-9356-74138fdeb382' when this UUID is already used for 'views_page__search__page_1'". This update hook was introduced in #2772745: Search API integration doesn't check/define feature support of backends.
Proposed resolution
Either remove this update hook (as 8.x-1.0-alpha8 release notes still say "No data update paths will be provided for Alpha versions of this module, so upgrading to this version, or from this to a later one, might discard some of your configuration."), or fix it.
Remaining tasks
Review, commit.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#4 | facets-non_working_upgrade_path-2862381-4.patch | 314 bytes | Boobaa |
Comments
Comment #2
BoobaaComment #3
BoobaaThe problem is that this update hook loads the facet source, changes its ID and name, then tries to create a new one from it – without removing the UUID, so the to-be-created one would have the same UUID as the to-be-deleted old one.
Trying to come up with a patch.
Comment #4
BoobaaComment #5
mmrares CreditAttribution: mmrares at AmeXio commentedI can confirm this patch works.
Comment #7
borisson_Committed, thanks for the patch and confirmation that it works.
Comment #8
ayalon CreditAttribution: ayalon commentedThx for the patch! Please make a new stable version because this is crucial!