Skip to content

fix(base): skip duplicate descriptions - #584

Merged
kpsherva merged 1 commit into
CERNDocumentServer:masterfrom
zubeydecivelek:update-desc
Aug 21, 2026
Merged

fix(base): skip duplicate descriptions#584
kpsherva merged 1 commit into
CERNDocumentServer:masterfrom
zubeydecivelek:update-desc

Conversation

@zubeydecivelek

@zubeydecivelek zubeydecivelek commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@zubeydecivelek zubeydecivelek moved this to In review 🔍 in Sprint Q3 2026 ☀️ Aug 20, 2026
@zubeydecivelek zubeydecivelek linked an issue Aug 20, 2026 that may be closed by this pull request
if existing_description and description_text:
if description_text != existing_description:
additional_descriptions = self.get("additional_descriptions", [])
additional_descriptions.append(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

while adding an additional description it would be also good to check beforehands if the same description already exists in the list

Comment thread cds_migrator_kit/transform/xml_processing/rules/base.py
@kpsherva
kpsherva merged commit 7788f2f into CERNDocumentServer:master Aug 21, 2026
3 checks passed
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.

metadata: remove duplicate descriptions

2 participants