Scrolling through invites repeats the list


(Allen - Watchman Monitoring) #1

I’ve just updated to discourse 1.2.0.beta3, and this problem is still here (I first noticed it a while back, not sure when)

I’m on my user’s invited page, looking at the people I’ve invited to our forum.

The full list is 200 people (which I think is too short) but the 121st person in the list is the same as the 161st person, and that batch from 121 to 160 is the same group as from 161 to 200.


(Jeff Atwood) #2

@eviltrout can you have a look?


(Robin Ward) #3

This is reproducible? It’s really odd to me because I tried locally with 500 imported emails and I didn’t see any duplicates.

I also looked at the code and I’m not sure how it would repeat, unless perhaps your browser was requesting the wrong range again.


(Allen - Watchman Monitoring) #4

Yes, I’ve seen it for a while, since before we could re-send invites.

I just tried to reproduce, got a repeat on the 121st entry again, but this time didn’t get any of my expired invites.

the list maxes out at 240, otherwise I’m sure the same group of 40 repeating.

I don’t see much interesting in the admin’s log view. Let me know if another log would be helpful.


(Robin Ward) #5

Is there any chance you’d let me at your site/database? I could diagnose better if I could reproduce it myself.


(Allen - Watchman Monitoring) #6

Happy to. PM Me what you need for access.


(Allen - Watchman Monitoring) #7

This for the assist @eviltrout

Your fix here seems to have resolved the issue

https://github.com/discourse/discourse/commit/c90668ae532971cd9a904900c7be970719c05099


(Jeff Atwood) #8