- Issue created by @barone
- Status changed to Needs review
9 months ago 8:21pm 5 October 2023 - Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
9 months ago Waiting for branch to pass - Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
8 months ago Waiting for branch to pass - π¨πSwitzerland OlivierG
Hi,
the patch does not work correctly cause the getMenuName function doesn't get the name you already defined as blank in the constructor.
So we have to change the getMenuName function in order to check menuName is not blank. - Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
8 months ago Waiting for branch to pass - π§π·Brazil barone Belo Horizonte
Hi @OliverG thanks for the replay and for the patch. I'm adding a conditional check to avoid getting the error of calling ->id() on NULL. If this one works for you we may get this issue closed!
- Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
6 months ago Waiting for branch to pass - π¬π·Greece idimopoulos
I am making a slight change to check for the ID, not just the entity. The reason is that OG menu seems to break the layout builder which passes as context an entity without an ID.
- Open on Drupal.org βCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
6 months ago Waiting for branch to pass