-
- Downloads
ISTWCMS-7275: Handle null view scenarios in Reference block plugins
Added null-safe operators and fallback checks to prevent errors when views are missing or fail to load. If a view is unavailable, the blocks now return a user-friendly error message instead of triggering null reference exceptions.
Showing
- src/Plugin/Block/ReferenceAuthorsBlock.php 10 additions, 2 deletionssrc/Plugin/Block/ReferenceAuthorsBlock.php
- src/Plugin/Block/ReferenceBlock.php 10 additions, 2 deletionssrc/Plugin/Block/ReferenceBlock.php
- src/Plugin/Block/ReferenceKeywordsBlock.php 10 additions, 2 deletionssrc/Plugin/Block/ReferenceKeywordsBlock.php
Loading
Please register or sign in to comment