Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Remove Generated Literal References from History Bundles #110

Closed
hhund opened this issue Jun 29, 2020 · 0 comments · Fixed by #111 or #114
Closed

Remove Generated Literal References from History Bundles #110

hhund opened this issue Jun 29, 2020 · 0 comments · Fixed by #111 or #114
Assignees
Labels
bug Something isn't working ready for release Issue is fixed and merged into develop, ready for next release
Milestone

Comments

@hhund
Copy link
Member

hhund commented Jun 29, 2020

Literal references are not cleaned from history bundles. Add call to ReferenceCleaner.cleanLiteralReferences(Resource) in HistoryServiceImpl.getHistory(User, UriInfo, HttpHeaders, Class, String) before returning the Bundle.

bundle.getEntry().stream().filter(BundleEntryComponent::hasResource)
                          .map(BundleEntryComponent::getResource)
                          .forEach(referenceCleaner::cleanLiteralReferences);
@hhund hhund self-assigned this Jun 29, 2020
@hhund hhund added the bug Something isn't working label Jun 29, 2020
@hhund hhund linked a pull request Jun 29, 2020 that will close this issue
@hhund hhund added this to the v0.2.1 milestone Jul 3, 2020
@hhund hhund closed this as completed in #114 Jul 6, 2020
@wetret wetret added the ready for release Issue is fixed and merged into develop, ready for next release label Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working ready for release Issue is fixed and merged into develop, ready for next release
Projects
None yet
2 participants