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.

Post History

80%
+6 −0
Q&A "edit" link below non-Q&A post results in 404 Not Found

I tried to edit a recipe I'd posted, by using the "edit" link below the post text. That gave me a 404 Not Found error. Looking at the URL, I noticed that it says /answers/.../edit, which is wrong b...

0 answers  ·  posted 4y ago by Canina‭  ·  edited 4y ago by Monica Cellio‭

#2: Post edited by user avatar Monica Cellio‭ · 2020-06-11T18:45:01Z (over 4 years ago)
#1: Initial revision by user avatar Canina‭ · 2020-06-11T15:16:52Z (over 4 years ago)
I tried to edit [a recipe](https://cooking.codidact.com/ar/275936) I'd posted, by using the "edit" link below the post text. That gave me a 404 Not Found error.

Looking at the URL, I noticed that it says /answers/.../edit, which is wrong because that's not an answer. (It's not a question, either.)

When I manually changed the URL to /articles/.../edit instead, editing worked fine and I was able to save my changes.

This is almost certainly related to [URLs in RSS feeds wrongly assume that all top-level posts are questions](https://meta.codidact.com/q/275940) (which has been fixed). Given that this is already two very similar bugs, I wouldn't be surprised if there are some other hardcoded assumptions elsewhere along the lines of "top-level posts are always questions, and anything that's not a question is an answer".