#32903 [Csd->Opn]: Submit Comment Link in bugsweb still there when comments disabled

From: Date: Sun, 01 May 2005 03:27:22 +0000
Subject: #32903 [Csd->Opn]: Submit Comment Link in bugsweb still there when comments disabled
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-28056@lists.php.net to get a copy of this message
ID: 32903 Updated by: davey@php.net Reported By: davey@php.net -Status: Closed +Status: Open Bug Type: Website problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: It shows the error "You can not add comments for bugs with the statuses:Closed, Duplicate, Wont fix, Bogus, Stale" which should at the very least be re-worded. I think just putting in an: if ($comments_allowed) { ?> /*add comments text here*/ <?php } would be nicer for the user. - Davey Previous Comments: ------------------------------------------------------------------------ [2005-05-01 05:25:12] davey@php.net Demonstrating the issue in this bug. ------------------------------------------------------------------------ [2005-05-01 05:24:48] davey@php.net Description: ------------ The "Edit Submission" section of php-bugs-web contains an "Add Comment" link even comments are disabled (which is the case when bugs are closed.) I will test/demonstrate with this bug. Furthermore, the CAPTCHA should not be on both the "Submit" and "Confirm" pages. - Davey Reproduce code: --------------- Go to any closed bug and click the "Edit Submission" link, the verbage starting with "Welcome Back!" and containing information on retrieving a lost password also contains a link to the "Add Comment" page. This should not be visible when a bug is closed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32903&edit=1

« previous php.mirrors (#28056) next »