I observed this behaviors when trying to close #60895: No check made in comment edit/delete for non existent comments. To reproduce delete the comment which does not exists comment/200/delete for instance. See the attached snapshot for better understanding.

Comments

sivaji_ganesh_jojodae’s picture

Status: Active » Needs review
StatusFileSize
new1.47 KB

Attached patch will fix this bug. It uses menu argument loader %comment like comment edit menu item.

sun’s picture

Status: Needs review » Needs work

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.