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

Prevent invalid links from rendering an entry inaccessible #316

Closed
wants to merge 0 commits into from

Conversation

bullenb
Copy link

@bullenb bullenb commented Sep 13, 2022

When a link associated to an entry cannot be resolved, the attempt to resolve the parent entity fails. This can even cause an attempt to fetch a collection of entries to fail.

This change assumes it is acceptable to produce a null value for an invalid link rather than throw an exception.

@LucaGallinari
Copy link

Hi @Sebb767 we are interested in this PR to be merged too. If you can find some time to review it, it would be really appreciated 😁

@adithya-flaconi
Copy link

Any luck on this PR? Would help us out!

@Sebb767
Copy link
Collaborator

Sebb767 commented Apr 17, 2023

Merging this PR as-is would change the behavior of the library significantly; therefore we can't easily merge it. We're currently working on a way to allow rendering entries with invalid links via a configuration flag in order to fix this issue.

@adithya-flaconi
Copy link

@Sebb767 Is that planned / already fixed in the main branch? thanks!

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