Commit 8298cfd4 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Set sessions to on-disk when MaxAttachmentSize is lowered, for Oracle

Oracle uses the MaxAttachmentSize to also control the maximum piece of
any BLOB column which is returned.  This hence also affects sessions,
and causes the attachment truncation tests to fail because login does
not succeed because the returned session data is truncated.

Set the test to use on-disk sessions to work around the spurious logouts
caused by a too-low MaxAttachmentSize on Oracle.
parent 3d8a7a89
......@@ -11,6 +11,7 @@ close $fh;
my $name = ( File::Spec->splitpath($path) )[2];
RT->Config->Set( 'WebSessionClass', "Apache::Session::File");
RT->Config->Set( 'MaxAttachmentSize', 1000 );
RT->Config->Set( 'TruncateLongAttachments', '0' );
RT->Config->Set( 'DropLongAttachments', '1' );
......
......@@ -10,6 +10,7 @@ print $fh $content;
close $fh;
my $name = ( File::Spec->splitpath($path) )[2];
RT->Config->Set( 'WebSessionClass', "Apache::Session::File");
RT->Config->Set( 'MaxAttachmentSize', 1000 );
RT->Config->Set( 'TruncateLongAttachments', '1' );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment