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 »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

I comment on an answer on my question, and get this error: "New users can only comment on their own posts and on answers to them"

+5
−0

I'm the author of this question: What is the advantage of creating instances from a method rather than constructor? A user provides an answer and I want to open a comment thread. I get this response when submitting it:

{
  "status": "failed",
  "message": "New users can only comment on their own posts and on answers to them."
}

Isn't that I'm doing exactly what it says?

Here is the content of the comment:

Title: When is overloaded function good to use? Is it only error-prone for authors, not users?
Body: If overloaded functions tends to be error-prone in itself, then when is it be good to use? In small scripts I guess? Is the whole argument boils down to it's not worth for the authors to catch all possible errors when using overloaded constructors? Because I'm unable to imagine how users can have trouble with it

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

1 answer

+5
−0

Raised on Codidact Meta

Thanks for raising this. It turns out this affects other Codidact Communities, so it's not specific to Software Development Codidact. There's a post on the main Meta community: Incorrect raw JSON failure message on posting a comment.

I've mentioned your report there to highlight that it is affecting more people.

Workaround

Although the error message suggests failure, the comment does save successfully. This is misleading and needs to be fixed, but in the meantime you will still be able to add comments. You just won't be able to see that they succeeded until you revisit the page (by pressing back and then refresh, or by visiting the post in a different tab).

If you follow the link in your Meta question, you will see that the answer has 3 comment threads from you (presumably due to you understandably retrying when you were told that your attempt to add a comment had failed). If you open one of those threads and click on "View the whole thread", you'll have the option to delete the comment, which will then automatically delete the empty thread, allowing you to remove any duplicate comment threads that you don't want.

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

0 comment threads

Sign up to answer this question »