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

Warning about missing or unpublished file/page? #251

Open
GuySartorelli opened this issue Mar 13, 2024 · 0 comments
Open

Warning about missing or unpublished file/page? #251

GuySartorelli opened this issue Mar 13, 2024 · 0 comments

Comments

@GuySartorelli
Copy link
Member

I know we've discussed this in passing, but I came across the below while looking at the migration path from gorriecoe/silverstripe-link and I think this makes a lot of sense to do.
https://github.com/elliot-sawyer/silverstripe-link/blob/9558cb987c544fab1981c7ade4af6966f9ba683a/src/extensions/LinkSiteTree.php#L85-L88

Should we add a similar warning for FileLink and SiteTreeLink when the page is missing or unpublished?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant