- Issue created by @lauriii
- First commit to issue fork.
- Merge request !10422Issue #3491044: Navigation top bar is not rendered consistently → (Closed) created by plopesc
- 🇪🇸Spain plopesc Valladolid
New MR following a different approach where context responsibility relies on the plugins instead the Top Bar itself.
- 🇮🇳India sagarmohite0031
Hello,
Tested and Verified on Drupal 11
Mr applied successfully
Attaching screenshot- - 🇺🇸United States smustgrave
Can the steps to reproduce be updated. Navigation_top bar isn't there anymore.
- 🇬🇷Greece vensires
@smustgrave the navigation_top_bar module is still there but marked with
hidden: true
. - 🇺🇸United States smustgrave
@plopsec pinged me about this one in slack. And as mentioned navigation_top_bar is now hidden. So re-tested
I did verify, with caching enabled, that on node/1 the top bar is not appearing
Before
After applying the patch
Toolbar is now appearing as expected.
1) Drupal\Tests\navigation\Functional\NavigationTopBarTest::testTopBarVisibility Behat\Mink\Exception\ElementNotFoundException: Element matching xpath "//div[contains(@class, 'top-bar__content')]/div[contains(@class, 'top-bar__actions')]/button/span" not found. /builds/issue/drupal-3491044/vendor/behat/mink/src/WebAssert.php:465 /builds/issue/drupal-3491044/core/modules/navigation/tests/src/Functional/NavigationTopBarTest.php:104 FAILURES! Tests: 1, Assertions: 19, Failures: 1. Exiting with EXIT_CODE=1
Test-only feature shows this too