Closed (fixed)
Project:
Microsoft 365 Connector
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2022 at 12:15 UTC
Updated:
18 Aug 2022 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jesse van de water commentedComment #6
bramdriesenRTBC then?
Comment #8
fabianderijkI've just merged the MR.
Comment #9
bramdriesenCan you tag a new release? @fabianderijk
Comment #10
bramdriesenComment #11
bramdriesenI just tested this, this is not working as it should.
For example, the o365 calendar block is still throwing the error:
TypeError: Drupal\Core\Cache\CacheableMetadata::createFromRenderArray(): Argument #1 ($build) must be of type array, bool given, called in /var/www/drupal9/xxx/web/core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php on line 111 in Drupal\Core\Cache\CacheableMetadata::createFromRenderArray() (line 149 of /var/www/drupal9/xxx/web/core/lib/Drupal/Core/Cache/CacheableMetadata.php)Which I fixed in my approach in #3298398: Outlook Calendar - Block should return something
The conditional block logic also isn't working when using blocks in combination with layout builder (dashboard module in my case)
Comment #12
bramdriesenComment #13
bramdriesenComment #15
bramdriesenHi highly doubt this was actually ever tested. Anyway, the CR I created fixes all issues, sets default values to the form so you actually don't loose your changes the next time you edit the block and some various code formatting issues are fixed.
I also don't understand why
t()strings passed the code review. When in a class$this->t()should be used.Comment #18
fabianderijkMmm, I thought we tested this, I've merged your MR, and added some extra fixes.
Comment #19
bramdriesenThnx :-)