"Add from search" randomly grays out

Hello,

I’m getting reports that the “Add from search” option randomly grays out and the “Add myself” option disappears. It is the same issue as in this post.

It happens in our current production site running version 3.2.7 and also on the new site that I just put up running 3.3.2. The new site is not in production yet. Two users were testing out the new site yesterday and reported this same issue. One of the users is a new Indico user and just registered the account so there should not be any Indico related cache on the user’s machine.

If this is a server related cache issue, is there a way to turn off the caching on the server? Can this be related to some running service?

Thanks.


Screenshot 2024-06-25 at 1.03.35 PM

There is no cache that would cause this kind of problem. The post you referenced was someone who was using Cloudflare in front of Indico which was doing something weird.

According to the Indico code (from v3.3), that button only gets disabled when there is no session user (ie not logged in to Indico). However, it’s not possible to edit a contribution without being logged in… so I don’t see how that button would get disabled.

If you want to debug this yourself, use your browser’s dev tools w/ react dev tools to see where the disabled property on that button is coming from.

Hello,
I just got back to this issue. This is what I found with the react dev tool. Are you able to tell where the ‘disabled’ is coming from? I clicked through the other entries but nothing stood out.

Thanks.

From Elements tab

@fireball, we are running into the same issue, per chance is your site behind Cloudflare?

Also, if you tag Thiefmaster with the @ they will be more likely to respond, I got a response after tagging them in another thread

If you end up determining the solution please just drop an update on this thread to see if it solves the problem for us too