Problem/Motivation
Since Drupal 10.4, we saw that the button edit icon (in top right) that allow to toggle others edit button in the page, is displayed correctly during the first browser request, then it was hidden during other page refresh
Steps to reproduce
Install drupal 10.4.8
Admin toolbar 3.x
first display: https://ibb.co/Hfxz4nwf
second display: https://ibb.co/fdwqj4v0
Proposed resolution
If I removed session storage of my user, the button is back for the new browser request and was hidden after.
I think there is a problem in session storage, introducing during the core version 10.4.x, I tested :
10.3.13 -> Ok
10.4.0 -> Nok
10.4.8 -> Nok
Disable cache didn't fix the problem, only remove session storage.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | admin_toolbar.png | 85.81 KB | zaurav |
Comments
Comment #2
tichris59 commentedIn my case, on the page /admin/content, I if remove the key session storage:
Drupal.contextual.entity.view.edit_form:view=content:location=page&name=content&display_id=page_1&langcode=fr
fix the problem for the next reload and after the problem come back
Comment #3
dydave commentedThis issue is starting to run a bit behind:
Could you please try upgrading to the latest admin_toolbar-3.6.3 release and let us know if the problem still occurs?
It's been almost 6 months since this issue was created and no one else seems to have encountered the same or a similar problem.
Were you able to fix the issue or find what could have caused it?
Feel free to let us know if you have any questions on this comment or this issue in general, we would certainly be very happy help.
Thanks in advance!
Comment #4
boddy commentedDrupal core 10.4.6 with Admin Toolbar 3.6.3 - the problem still exists
Drupal core 10.6.3 with Admin Toolbar 3.6.3 - the problem still exists
The Edit link appears once after editing and saving an entity, after refreshing the page it gets '.hidden' class for some reason.
Drupal core 11.2.9 with Admin Toolbar 3.6.2 / 3.6.3 - no problems, everything works fine
Comment #5
zauravI don't see the edit button at all!
Drupal version : 10.6.3
PHP version : 8.4.17
Install profile : standard
Admin toolbar 3.x (f0a73d2)
Comment #6
boddy commentedIt is an Edit page on the screenshot, so you shouldn't see a button.
The Edit button appears on the View entity, not in the Edit one.