“key [admin] doesn’t exist” when updating from 10.27.24 to 10.27.26

After updating from v10.27.24 to v10.27.26 i see an error after login in the admin:

"key [name] doesn't exist"

please find stack trace as screenshot attached

Looks like your admin user may not have “sites.navigate” permission. By default this is assigned to sysadmin, content admin and content editor.

Alternatively, the site picker itself hasn’t changed, but the listSites() method has. It now filters sites on “deleted=false” - can you check your db to see what the deleted value for all your sites is? Potentially, it might be null, so doesn’t match that filter. (If so, can you set manuall yin the db then try again?)

If it’s an old site (6+ years), the site’s deleted value may never have got defaulted to false.

you’re right, Seb. Problem is that the entries in psys_site has a NULL value for column “deleted” - if i update the entries to 0 or 1 it works as expected.

Thanks Marcus - we’ll adjust it to make sure it works with nulls too…

1 Like

This is fixed in 10.27.27