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

NXP-30834: allow DocumentModelCSVWriter to write documents from other repositories #5052

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

Conversation

troger
Copy link
Member

@troger troger commented Jan 27, 2022

No description provided.

@nuxeojenkins
Copy link
Collaborator

View issue in JIRA: NXP-30834: Fix CSV export of multi-repo Page Provider results

@troger
Copy link
Member Author

troger commented Jan 27, 2022

Same fix as in https://jira.nuxeo.com/browse/NXP-30615.

// do not try to re-attach a detached or non-existing document
doWriteEntityBody(entity, printer);
} else {
withDocumentAttached(entity, () -> doWriteEntityBody(entity, printer));
Copy link
Contributor

@NourNuxeo NourNuxeo Jan 28, 2022

Choose a reason for hiding this comment

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

wouldn't it be better to create the method when we have more uses cases? I feel like this method has been created "in case" we need to make more use of it with yet-to-come different runnables?

ataillefer
ataillefer previously approved these changes Feb 1, 2022
@ataillefer ataillefer force-pushed the 10.10-HF/fix-NXP-30834-doc-csv-writer-multi-repo branch from 8685af2 to 4e0ea88 Compare March 6, 2022 22:24
@ataillefer
Copy link
Member

Rebased on 10.10.

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.

4 participants