-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
BUGFIX: Graceful error handling if setup not completed #4717
Merged
mhsdesign
merged 15 commits into
neos:9.0
from
mhsdesign:bugfix/graceFullErrorHandlingIfSetupNotCompletet
Feb 16, 2024
Merged
BUGFIX: Graceful error handling if setup not completed #4717
mhsdesign
merged 15 commits into
neos:9.0
from
mhsdesign:bugfix/graceFullErrorHandlingIfSetupNotCompletet
Feb 16, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7fc25a2
to
c51d3cd
Compare
6 tasks
c51d3cd
to
f94cecf
Compare
f94cecf
to
625eaf6
Compare
This pr makes #4050 obsolete. |
e728866
to
0c3b5ec
Compare
The Flow functional tests pass now when Neos is installed. So under that measurement the change is correct :D |
bwaidelich
approved these changes
Feb 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, +1 by reading
mhsdesign
commented
Feb 16, 2024
The router cache is still used in combination with our routing projection. That could possibly lead to this error when our cache flushing cant keep up, like when deleting tables :D > TODO: SITE NOT FOUND; should not happen (for address NodeAddress[...] This changes the error to point to a possible cause, the Flow_Mvc_Routing_Route Ideally our `RouterCacheHook` should always keep up.
…he cr is not setup
previously the `@package` resolving would always take place, even if not necessary, when all includes are fully specified.
… rendering fallback
The TypoScript context variable `editPreviewMode` was deprecated in favour of `${documentNode.context.currentRenderingMode.name}` With neos 9 that again was removed in favour of the fusion global `renderingMode`. neos#4505
After the previous adjustments the `SiteDetectionFailedException` will only be thrown in fewer cases, the only real reproducible the `/neos/content` route. The rendering group is a bit overkill only for this thing and also might swallow 500 errors that should be presented as is and not wrapped by a vibrant welcome page. The ui should be adjusted instead. neos/neos-ui#3721
0c3b5ec
to
002ee3d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves: #4714
Resolves: #4446
Current when visiting
http://127.0.0.1:8081
orhttp://127.0.0.1:8081/anythingunmatched
without a neos site being imported:(yes a white-screen if a site exists but no site node)
![image](https://private-user-images.githubusercontent.com/85400359/281548636-f6282fea-88eb-423f-9766-fa3760b03dff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzE4MTYsIm5iZiI6MTczOTM3MTUxNiwicGF0aCI6Ii84NTQwMDM1OS8yODE1NDg2MzYtZjYyODJmZWEtODhlYi00MjNmLTk3NjYtZmEzNzYwYjAzZGZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE0NDUxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1NTU4NmRhOWFiYjI0YmI3ODI5M2YxODljMTg2Y2VhM2JhMTA4OWZkNDI4YmQ1ZDZjNzc3MjI3YjYxMzI2ZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.0zYK79Cwo0gAwAPMQZEgowWf1Xg4co5wijaMwZ5gFRE)
(or if you have not site the
![image](https://private-user-images.githubusercontent.com/85400359/281549246-974bea40-065a-4e28-8556-64a276fdc3ca.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzE4MTYsIm5iZiI6MTczOTM3MTUxNiwicGF0aCI6Ii84NTQwMDM1OS8yODE1NDkyNDYtOTc0YmVhNDAtMDY1YS00ZTI4LTg1NTYtNjRhMjc2ZmRjM2NhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE0NDUxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBmODhjNjM2N2UxMjM4NjA3ZjY5Y2EwZWRlMGMzNTlmOWQ0Njc4YmQ1MmM4ZTE4ZWM0ZTY3MGZmMGE3Y2U2YzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oHB8hlFhDpTdq0CDhZ6kT64ecSugg58cyJxWyAd_HHQ)
EventSourcedFrontendNodeRoutePartHandler
)Proposed:
As soon as a site exist, the fusion exception view will use the
error
path as usual to render your custom 404 page.Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions