Cacheing issue with local tasks when 'Hide Top Bar' set and then unset

Created on 31 January 2024, 5 months ago
Updated 20 February 2024, 4 months ago

Problem/Motivation

If you enable the 'Hide top bar' option after visiting a node form where the local tasks have been moved to the top bar, the local tasks do not appear as tabs like expected.

Steps to reproduce

On a fresh install:

  1. Login as admin and enable the navigation module
  2. Visit any node. Make note that the local tasks tabs have moved into the Top Bar
  3. Visit the Navigation Settings (Adminstration > Configuration > User interface > Navigation settings)
  4. Enable 'Hide top bar' and Save
  5. Reload the node from step 2

Expected results

Top bar is hidden and the local tasks display as tabs.

Actual results

Top bar is hidden, and so are the tabs. Local tasks are inaccessible.

Proposed resolution

Clearing cache fixes the issue. There is a cacheing issue at play where the top bar, or some sub-element is not declaring the navigation configuration as a cache dependency.

Remaining tasks

Fix it.

User interface changes

When top bar is hidden, local tasks show as tabs. When top bar is present, local tasks show as dropdown.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada m4olivei Grimsby, ON

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024