php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32903 Submit Comment Link in bugsweb still there when comments disabled
Submitted: 2005-05-01 05:24 UTC Modified: 2005-09-19 15:27 UTC
From: davey@php.net Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2005-05-01 05:24 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-01 05:25 UTC] davey@php.net
Demonstrating the issue in this bug.
 [2005-05-01 05:27 UTC] davey@php.net
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
 [2005-05-06 08:32 UTC] dufuz@php.net
Just to answer the CAPTCHA part, please read bug report 	#32864
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 04:00:01 2026 UTC