- πΊπΈUnited States jrearick Iowa
Feels like it might be an internal Drupal cacheing issue? Has anyone been able to figure out how to reliably replicate the issue and document those steps so the fix can be verified?
- πΊπΈUnited States Dave Reid Nebraska πΊπΈ
I wonder if this is a caching issue, that the toolbar generally doesn't get cached per page, but adding of local tasks, we need to ensure that it *does* get cached per page.
- @dave-reid opened merge request.
- πΊπΈUnited States Dave Reid Nebraska πΊπΈ
I was also testing out π Local Tasks menu is shown even when the tray is empty Closed: outdated and I couldn't find a way to make this work with the render placeholder, so I ended up ripping out the lazy caching and just outputting the local tasks directly, but this time with proper cache metadata and contexts. My testing so far with all caching turned on seems to be working and solving both issues.
- πΊπΈUnited States Dave Reid Nebraska πΊπΈ
Patch for composer workflows against 3.x.
- Status changed to RTBC
over 1 year ago 9:42pm 9 March 2023 - πΊπΈUnited States matthand Riverdale Park, Maryland
Confirming the patch in comment 9 applies clean from composer.json and resolves this issue. It also fixes the related issue
"Local Tasks menu is shown even when the tray is empty" π Local Tasks menu is shown even when the tray is empty Closed: outdated . Moving to status "Reviewed & tested by the community". - πΊπΈUnited States Dave Reid Nebraska πΊπΈ
I think I was able to narrow down an instance where after a cache clear/invalidation, if the first page I loaded didn't have any local tasks, then subsequent page loads after that would load the cached toolbar without any local tasks even though the page had changed and the local tasks should be visible.
- last update
about 1 year ago 17 pass - First commit to issue fork.
- last update
about 1 year ago 17 pass -
adriancid β
committed 2d972706 on 3.x authored by
Dave Reid β
Issue #3319213: Local tasks display tabs disappear
-
adriancid β
committed 2d972706 on 3.x authored by
Dave Reid β
- Status changed to Fixed
about 1 year ago 1:18pm 28 April 2023 -
adriancid β
committed e4e1f922 on 3.x authored by
Dave Reid β
Issue #3319213: Local tasks display tabs disappear
-
adriancid β
committed e4e1f922 on 3.x authored by
Dave Reid β
Automatically closed - issue fixed for 2 weeks with no activity.