Missing questions in default space after update to 1.32.1, only visible to admin users
See original GitHub issueThis is an explanation and a solution to the problem of missing questions after an update to 1.32.1
.
Previously, everyone in the default space could see questions posted in other spaces but couldn’t access those. This was an unpleasant bug which is now fixed. The side effect of that fix is that all your questions don’t have any space assigned and hence appear hidden. Having a blank space value for a question used to mean that it’s in the default space but now this must be explicitly set.
The way to solve this is to login as admin, clear the postviews
cookie and visit every question. This will update the view count but also set the default space to scooldspace:default
on each question object. Eventually all questions will be visible to your regular users.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
I could solve it this way:
select * from para_scoold where type='question';
If you are admin you should be seeing all questions no matter what. Are you sure you’re in the default space? I guess you could do a mass update with an SQL command but I’m not sure how. You need to change just a single field in a column containing a JSON string.