Skip to content

fix(content-item): enrich items when faceting for archive#152

Merged
rs-amp merged 1 commit into
amplience:masterfrom
rs-amp:fix/facet-archive
Oct 19, 2022
Merged

fix(content-item): enrich items when faceting for archive#152
rs-amp merged 1 commit into
amplience:masterfrom
rs-amp:fix/facet-archive

Conversation

@rs-amp
Copy link
Copy Markdown
Contributor

@rs-amp rs-amp commented Oct 17, 2022

This fixes an issue where the content-item archive command would error if the facet used could be accelerated.

The problem is that we need the content body to determine if the delivery-key is present, which is used to determine if it is to be removed on archive. This is not available when content is retrieved from the facet endpoint, so it was erroring instead.

The downside is that this might make content-item archive a little slower than it would be without the delivery key check, but this ensures that it works the same with and without the facet.

@rs-amp rs-amp force-pushed the fix/facet-archive branch from d86508f to 0b81905 Compare October 19, 2022 10:34
@rs-amp rs-amp force-pushed the fix/facet-archive branch from 0b81905 to 87380a8 Compare October 19, 2022 10:37
@rs-amp rs-amp merged commit 2902877 into amplience:master Oct 19, 2022
Pureball pushed a commit to cosnova/dc-cli that referenced this pull request Aug 22, 2023
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.

2 participants