The button does not appear for some users until you clear cache.

Comments

Peter Törnstrand created an issue. See original summary.

acke’s picture

Status: Active » Fixed

Fixed in 1.0.4. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kleve’s picture

The commit in #2 gives the following error every time a user logs in.

User warning: Trying to overwrite a cache redirect for "toolbar:[languages:language_interface]=sv:[theme]=claro:[user.permissions]=is-admin:[user.roles:anonymous]=false:[user.roles:authenticated]=true" with one that has nothing in common, old one at address "user.permissions, languages:language_interface, theme, user.roles:anonymous, user.roles:authenticated" was pointing to "url", new one points to "url.path". in Drupal\Core\Cache\VariationCache->set() (line 238 of core/lib/Drupal/Core/Cache/VariationCache.php).

Changing cache context from

url.path

to

url

seems to remove the error but not sure if it fixes the initial issue as well.

ressinel’s picture

I created a follow-up issue to fix the error mentioned in comment #5
https://www.drupal.org/project/toolbar_edit_page_button/issues/3554541