Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Product/Version ?
Bugdar / 1.2.1
Status ?
Closed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
trunk: 1605; branch: 1606
Mstone ?
Summary ?
Cannot Delete Comments Posted by Guests
Report Time ?
February 9, 2008 07:16 PM
Assignment ?
Resolution ?
Fixed
Priority ?
High
Dependencies ?
- none -
Mstone (old) ?


Attachments
patch-120.diff Patch
Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

February 9, 2008 07:16 PM Robert
You cannot delete comments posted by guests because of API->call_relations() that tries to fetch user information.

Stack trace:

#0 trigger_error(Condition is empty: cannot fetch, 256) called at [/usr/local/apache-2.2.6/htdocs/bugtrack/framework/api.php:385]
#1 API::fetch() called at [/usr/local/apache-2.2.6/htdocs/bugtrack/framework/api.php:585]
#2 API::call_relations(fetch) called at [/usr/local/apache-2.2.6/htdocs/bugtrack/framework/api.php:412]
#3 API::fetch() called at [/usr/local/apache-2.2.6/htdocs/bugtrack/editcomment.php:39]

February 11, 2008 08:05 PM Robert
Thank you for your bug report. This issue has been closed and fixed in Subversion. This change will be available in a future release, but you can download the change at any time from the Subversion server.

February 11, 2008 08:16 PM Robert
Here's the patch you can apply to fix this bug.