Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on 500 error page for user:me when not signed in

Parent

500 error page for user:me when not signed in

+2
−0

When searching, a user can be specified by including user:X in the search term, where X is the user id of the relevant user. You can also search for your own posts by specifying user:me.

If you share a link to search results based on user:me then the recipient of the link will see results for their own user, provided they are signed in. However, if they are not signed in they will see a 500 error page instead.

Could this 500 error page be replaced with something more informative, since we know the reason for being unable to display the results?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+2
−0

One option would be to display a message along the lines of:

Search results for user:me can only be displayed when signed in. Please sign in and try again.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Should we strip `user:me` and show those results after (an edited version of) this message? You'd st... (2 comments)
Should we strip `user:me` and show those results after (an edited version of) this message? You'd st...
Monica Cellio‭ wrote 3 days ago

Should we strip user:me and show those results after (an edited version of) this message? You'd still get something, and maybe that was enough or maybe you need to log in now and try again.

trichoplax‭ wrote 3 days ago · edited 3 days ago

For me personally, I'd rather be shown no results and an explanation of why, than some results that I might go straight into looking through without noticing the message that warns me about them being different from expected. I'd like to avoid that potential for wasting the user's time.

Perhaps we could include a clearly labelled link to those non-user-specific results below the initial message, so the potentially misleading results are only seen if the user explicitly chooses them. We should probably omit this option if user:me was the only search term (otherwise the link would be to a search with an empty search term, showing all posts in the results).