MD5 filtering crashes with Microsoft SQL

Description

org.apache.velocity.exception.MethodInvocationException: Invocation of method
'getPatterns' in class
com.metainf.jira.plugin.emailissue.action.config.MD5Patterns threw exception
com.atlassian.activeobjects.internal.ActiveObjectsSqlException:

There was a SQL exception thrown by the Active Objects
library: Database: - name:Microsoft SQL Server - version:12.00.2269 - minor
version:0 - major version:12 Driver: - name:Microsoft JDBC Driver 6.2 for SQL
Server - version:6.2.1.0 com.microsoft.sqlserver.jdbc.SQLServerException:

The text, ntext, and image data types cannot be compared or
sorted, except when using IS NULL or LIKE operator. at
/templates/emailissue/operation/config/md5-patterns6.vm[line 168, column 28] at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)

Environment

None

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Daniel Marczisovszky [META-INF]

Labels

None

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Fix versions

Priority

Major
Configure