Inner workings
What path does a request take through Medusa?
Browser call
RequestStreamHandler
orRequestStreamHandlerWithSecurity
depending on if theReactiveSecurityContextHolder
bean is availableHTMLInjector.inject
...
Troubleshooting
Blank page when calling a page
This means that somewhere in the reactive chain something didn't resolve. For example, the Reactive security context did not load. So the chain to inject HTML gets broken, and resolves without giving you HTML (=shows you a blank page)
If the situation where the chain is broken is actually correct, then a switchIfEmpty()
needs to be implemented and a default value provided.
Last updated