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

Limit document updates to relevant fields #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

micha91
Copy link
Collaborator

@micha91 micha91 commented Dec 19, 2024

Currently we always send all fields we received from the server with the patch request back to the server. When a user performs changes during the document rendering, it is possible that these custom fields get overwritten by capella2polarion with outdated data. While we cannot guarantee that we don't overwrite content changes made during the rendering, it's easy to avoid overwriting data, we do not actually change in Capella2Polarion. For that reason we will only send homePageContent, renderingLayouts and optionally title and outlineNumbering in patch requests in the future.

@micha91 micha91 force-pushed the fix-update-documents branch from cccdc9a to fe8b249 Compare December 19, 2024 16:13
@micha91 micha91 requested a review from ewuerger December 19, 2024 16:13
Copy link
Member

@ewuerger ewuerger left a comment

Choose a reason for hiding this comment

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

LGTM.

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