leaked 1 from www_view shows up in Asset output

This commit is contained in:
Colin Kuskie 2006-03-13 17:12:14 +00:00
parent 0112793198
commit 97c1039e72
4 changed files with 4 additions and 2 deletions

View file

@ -62,6 +62,7 @@
- fix [ 1443378 ] 6.99 Commerce system needs to be sessionized
- fix [ 1442942 ] 6.99: listLDAPLinks broken
- fix [ 1430276 ] 6.9: Can't kill active sessions
- fix [ 1429389 ] 6.9: "1" appended to HTML
6.8.8
- fix [ 1437186 ] 6.8.7 deploy DataForm package does not copy fields

View file

@ -168,7 +168,7 @@ sub page {
$output = tryAssetMethod($session,$asset,"view") unless ($output || ($method eq "view"));
}
}
if ($output eq "") {
if (defined($output) and $output eq "") {
$session->http->setStatus("404","Page Not Found");
my $notFound = WebGUI::Asset->getNotFound($session);
if (defined $notFound) {

View file

@ -330,7 +330,7 @@ sub www_view {
return $self->getContainer->www_view;
}
$self->session->http->setRedirect($self->getFileUrl);
return "";
return undef;
}

View file

@ -602,6 +602,7 @@ sub www_view {
$self->session->output->print($head);
$self->session->output->print($self->view);
$self->session->output->print($foot);
return undef;
}
#-------------------------------------------------------------------