Communities

Codidact
Codidact
Code Golf Dev
Code Golf Dev
Judaism Dev
Judaism Dev
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 »
Meta

Comments on Cryptic 400 when trying to close as duplicate of a Wiki

Parent

Cryptic 400 when trying to close as duplicate of a Wiki

+2
−0

With my new moderator powers, I tried testing closing a question as a duplicate. I was able to close In search of moderator powers as a duplicate of Formatting sandbox, which is in a different category, but before that I tried closing it as a duplicate of Basic Wiki reading guidance, which is not a question (it's a Wiki). This failed, but instead of giving a message with a reason, it just displayed a pop up red box notice with "400" and nothing else.

Is this a problem with the dev server or a general problem to be raised on real Meta?

History

0 comment threads

Post
+2
−0

I don't think you can close a post as a duplicate of a different post type (like article or wiki), but I would hope for better messaging. If it's a configuration error on this server, I can't think where it would be (I just looked at close reasons and post types and didn't see anything that stood out as odd).

History

1 comment thread

Testing in production (3 comments)
Testing in production

Since it can't succeed, would this be acceptable to test on the production site?

Monica‭ wrote 2 days ago

Sounds safe -- maybe pick one of your own old Meta questions and try to close as a dupe of a blog post? If something unexpected happens, flag it and we'll fix it.

trichoplax_but_moderator‭ wrote about 19 hours ago

The behaviour was identical, so I've raised on real Meta Meaningful message when failing to close a post as a duplicate of a different type.