I have the impression that I am most likely seeing what corresponds to the configuration at the time of the update. I activated the banner 20 hours ago, and there was an update 16 hours ago. Then I had problems getting rid of the banner. At some point, however, it got better (there was another update 8 hours ago). Now I can hardly get the banner to appear. So even if the setting is activated, it is often not displayed.
In addition, enabling and quickly disabling (or the other way around) seems to cause problems.
It’s odd that this is persisting even after refreshing in the app When we save these values on the server we send a MessageBus message to the client here which should update the reactive UI:
But it feels like somehow your settings have gotten true/false flipped here? What do you see if you do this in the rails console for your site?
SiteSetting.theme_site_settings
You will see something like this, the numbers represent the theme ID:
Seems like it’s behaving correctly on your theme on your hosted site ATM. This is interesting though:
Maybe we just keep an eye out and see if it keeps happening? Also feel free to start a PM with me if you’d like to discuss the hosted site specifics further.
I just now logged in to your site and I do not see it on the Default theme, and I see it’s disabled on /admin/customize/themes/1 . I toggled it on then off and it showed then hid in the other tab.
I do not see it on Foundation too, but it is enabled in admin. Hold tight, will see if I can see the issue.
I reenabled the banner on the default theme three hours ago to see what would happen after the next update. And it was there, but now it’s gone again. The setting is still enabled.
It still feels like it prefers the status it had when the site was updated
Thanks Moin…this is very unexpected, and AFAIK you are the only person that has encountered this so far. I will make a test site for myself and make changes + deploy to see if I can replicate the issue, maybe that will help track it down.
It definitely feels like some caching issue, especially as you say the UI itself is flip/flopping, but you can see in admin that the setting is still enabled.
It seems that the first change in particular isn’t working properly.
Yesterday I enabled the banner on Foundation and about 25 minutes later the banner was visible. That’s about the 30 minutes you mentioned.
Now I tried again. I disabled it on Foundation, it disappeared, but reappeared after a reload. And it’s not just my user that’s the problem; I always test with a test user in a private tab. But even after 30 minutes it’s still there.
I don’t know if it’s relevant, but I had disabled enable welcome banner when the themeable site settings came out. So the value was different from the default setting. Maybe that’s the difference? If you create a forum now, the value won’t have a history, it will just be the default.