fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-05-17 06:56 am

[dw-free] Can't call method "url" on an undefined value at cgi-bin/LJ/Comment.pm line 242

[commit: http://hg.dwscoalition.org/dw-free/rev/8ad51d879a2a]

http://bugs.dwscoalition.org/show_bug.cgi?id=3229

Remove debug; have a fix in go.bml

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Comment.pm
--------------------------------------------------------------------------------
diff -r 7702805fcf50 -r 8ad51d879a2a cgi-bin/LJ/Comment.pm
--- a/cgi-bin/LJ/Comment.pm	Tue May 17 13:56:55 2011 +0800
+++ b/cgi-bin/LJ/Comment.pm	Tue May 17 14:56:35 2011 +0800
@@ -239,8 +239,6 @@
 
     my $dtalkid = $self->dtalkid;
     my $entry   = $self->entry;
-    use Carp qw(cluck);
-    cluck( "no entry for " . $self->journal->user . ", " . $self->nodeid . ", " . $self->jtalkid ) unless $entry;
     my $url     = $entry->url;
 
     return "$url?thread=$dtalkid" . ( $url_args ? "&$url_args" : "" ) . LJ::Talk::comment_anchor( $dtalkid );
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org