Details
-
Bug
-
Resolution: Obsolete
-
High
-
4.4.1
-
Ibexa Experience
-
Yes
Description
Steps to reproduce:
- Create any Landing Page.
- Add 3 blocks to it.
- Publish.
- Visit this Landing Page from step 1 in a frontend - use Symfony's debug mode.
- Go to the last 10 requests section and save blocks' ids from the _fragment requests:
- Break a single block, for example - go to vendor/ibexa/fieldtype-page/src/bundle/Controller/BlockController.php file and in line with $event do something like:
$event = new BlockResponseEvent($blockId == 40 ? null : $blockContext, $blockValue, $request, new Response());
where 40 is an ID of a block that we want to kill.
7. Clear a cache and re-visit the Landing Page in a frontend.
Result:
One can see that a 500 exception is thrown, and no block is rendered.
Expected result:
The remaining blocks should be rendered properly and the broken block should display an error message.
Note:
Seems like blocks are failing gracefully in v3.3 so this looks like a regression.