- fix: Survey: textarea answers are trunctated

- fix: Snippet Security Fails
This commit is contained in:
JT Smith 2006-10-12 01:46:07 +00:00
parent 7867ce3573
commit 358f0ecdb8
3 changed files with 9 additions and 7 deletions

View file

@ -1,6 +1,8 @@
7.1.1
- fix: some issues with asset exports not handling URLs with dots correctly
- fix: Search from root
- fix: Survey: textarea answers are trunctated
- fix: Snippet Security Fails
7.1.0
- fix: mysql and mysqldump were transposed in upgrade.pl --help

View file

@ -20,17 +20,16 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
fixSurvey();
finish($session); # this line required
##-------------------------------------------------
#sub exampleFunction {
# my $session = shift;
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
# # and here's our code
#}
#-------------------------------------------------
sub fixSurvey {
print "\tFixing answer truncation in survey.\n" unless ($quiet);
$session->db->write("alter table Survey_questionResponse change response response text");
}

View file

@ -176,6 +176,7 @@ A web accessible version of the view method.
sub www_view {
my $self = shift;
return $self->session->privilege->insufficient() unless $self->canView;
my $mimeType=$self->getValue('mimeType');
$self->session->http->setMimeType($mimeType || 'text/html');
$self->session->http->setCacheControl($self->get("cacheTimeout"));