Improvement: Fix "title" error for missing block configurations #861
Unanswered
kirkbushell
asked this question in
Q&A
Replies: 2 comments
-
Hi @kirkbushell, I believe the Blocks are being refactored to be created/registered when a view exist in In the issue you're having, adding the prop |
Beta Was this translation helpful? Give feedback.
0 replies
-
We'll address this in PR (#813) for the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you're setting up a block, and forget to configure it at config/twill.php - you get an error message that is quite unclear (it's taken me 4 or 5 times seeing this error message to actually understand and remember what is going on):
A better error message, before this - would be to check that the configuration actually exists, and if not - throw an error (title check could be done after). Better yet, why array configuration? Why not a new Block object that could be registered with the system?
Beta Was this translation helpful? Give feedback.
All reactions