You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The missing --- on the block header groups this entire file inside the header (with no body) and thus acts as a blank config block. However, no error is raised.
We should raise a warning if an unsupported header key is presented, with a whitelist of allowed keys (e.g. name, only, after, before, except).
Just noting that it's silently breaking on a missing start header division as well, which just cost me 30 mins of goose chasing :/ We need more explicit validation in the whole config layer, it's a massive dev time sink right now.
E.g. in this config
The missing
---
on the block header groups this entire file inside the header (with no body) and thus acts as a blank config block. However, no error is raised.We should raise a warning if an unsupported header key is presented, with a whitelist of allowed keys (e.g. name, only, after, before, except).
Noted in silverstripe/silverstripe-framework#7700 (comment)
The text was updated successfully, but these errors were encountered: