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

API Make the public directory mandatory #10617

Merged

Conversation

GuySartorelli
Copy link
Member

The public/ directory is mandatory in CMS 5 (some of the functionality had already been explicitly deprecated in CMS 4 and so it has been removed in CMS 5) - but if the public/ dir didn't exist yet, framework was still pointing at the project root.
This has been causing our behat tests to fail in CI for most modules.

Note

Any deprecations required in CMS 4 or updates to documentation will be done separately - the primary purpose of this PR is to get builds passing again.

Related RFC

#8168

Parent Issue

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Changes look fine, though there's a broken unit test

@GuySartorelli GuySartorelli force-pushed the pulls/5/public-dir-mandatory branch from c8f55a5 to 8c5087d Compare December 14, 2022 02:56
@GuySartorelli
Copy link
Member Author

Fixed the broken test

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Unit test failure in unrelated

@emteknetnz emteknetnz merged commit b14de84 into silverstripe:5 Dec 14, 2022
@emteknetnz emteknetnz deleted the pulls/5/public-dir-mandatory branch December 14, 2022 03:08
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