Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1479 [export/import stories] improve export service - get label up to date #1480

Conversation

IdrissHam
Copy link
Contributor

No description provided.

@vsct-jburet
Copy link
Contributor

@IdrissHam What exactly is the purpose of this PR ?

@IdrissHam
Copy link
Contributor Author

IdrissHam commented Sep 13, 2023

@IdrissHam What exactly is the purpose of this PR ?

@vsct-jburet When exporting stories, we detected an inconsistency between the data displayed on the user interface (UI) and the exported data. After a thorough analysis, it became evident that the labels in the collection used as the basis for export were not being updated.

The solution implemented involves applying the same mechanism used for the story search service to the export service.

During the import of stories with an existing story ID in the database, the import process does not function as intended. I implemented a solution by deleting the story and its labels before reimporting it, which resolved the issue.

@IdrissHam IdrissHam changed the title fix #1479 [export stories] improve export service - get label up to date fix #1479 [export/import stories] improve export service - get label up to date Sep 15, 2023
@vsct-jburet
Copy link
Contributor

@IdrissHam this is WAD. Today you need to import the labels before the stories - if you prefer to implement a full import (ie stories + Label) you need to add a new feature and not to modify the current behaviour.

@vsct-jburet vsct-jburet closed this Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] [export stories] stories have labels that are not up-to-date - export service
3 participants