I think this is likely a race condition, but I'm not seeing the Relabel dropdowns or instructions when I'm signed in as a super admin. It looked like the JS wasn't even being included so I dug into this a bit deeper.
The conditional in Plugin.php for !$userSession->getIsGuest() returned false for me (indicating that I'm a guest) even though I'm signed in.
Description
I think this is likely a race condition, but I'm not seeing the Relabel dropdowns or instructions when I'm signed in as a super admin. It looked like the JS wasn't even being included so I dug into this a bit deeper.
The conditional in Plugin.php for
!$userSession->getIsGuest()
returnedfalse
for me (indicating that I'm a guest) even though I'm signed in.If I change this:
to this:
And include the correct modules:
Everything works as expected.
I'm thinking Craft might be indicating that I'm a guest at some point in execution and then determines I'm signed in later?
I have
devMode
enabled so maybe this is influencing that path, too.Other information