[otrs-cvs] ITSMChangeManagement/Kernel/System ITSMChange.pm, 1.281, 1.281.2.1
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/System
In directory lancelot:/tmp/cvs-serv27815/Kernel/System
Modified Files:
Tag: rel-3_1
ITSMChange.pm
Log Message:
Reverted last changes for bugfix# 8556. Will only be fixed in OTRS::ITSM 3.2.x.
Author: ub
Index: ITSMChange.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange.pm,v
retrieving revision 1.281
retrieving revision 1.281.2.1
diff -2 -u -d -r1.281 -r1.281.2.1
--- ITSMChange.pm 14 Nov 2012 15:31:22 -0000 1.281
+++ ITSMChange.pm 21 Nov 2012 17:58:05 -0000 1.281.2.1
@@ -146,8 +146,4 @@
);
- # get database type
- $Self->{DBType} = $Self->{DBObject}->{'DB::Type'} || '';
- $Self->{DBType} = lc $Self->{DBType};
-
return $Self;
}
@@ -1785,17 +1781,6 @@
$Param{$StringParam} = $DBObject->Quote( $Param{$StringParam} );
- # check if a CLOB field is used in oracle
- # Fix/Workaround for ORA-00932: inconsistent datatypes: expected - got CLOB
- my $UsingWildcardsForSpecialFields;
- if (
- $Self->{DBType} eq 'oracle'
- && ( $StringParam eq 'Description' || $StringParam eq 'Justification' )
- )
- {
- $UsingWildcardsForSpecialFields = 1;
- }
-
# wildcards are used
- if ( $Param{UsingWildcards} || $UsingWildcardsForSpecialFields ) {
+ if ( $Param{UsingWildcards} ) {
# get like escape string needed for some databases (e.g. oracle)
@@ -3300,8 +3285,8 @@
--------------------+-----------------
ChangeTitle | 250 characters
- Description | 1800000 characters
- DescriptionPlain | 1800000 characters
- Justification | 1800000 characters
- JustificationPlain | 1800000 characters
+ Description | 3800 characters
+ DescriptionPlain | 3800 characters
+ Justification | 3800 characters
+ JustificationPlain | 3800 characters
ChangeFreeKeyXX | 250 characters
ChangeFreeTextXX | 250 characters
@@ -3366,8 +3351,8 @@
)
{
- if ( length( $Param{$Argument} ) > 1800000 ) {
+ if ( length( $Param{$Argument} ) > 3800 ) {
$Self->{LogObject}->Log(
Priority => 'error',
- Message => "The parameter '$Argument' must be shorter than 1800000 characters!",
+ Message => "The parameter '$Argument' must be shorter than 3800 characters!",
);
return;
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log