Regression when combining projections Conditional, Constant, and LikeExpression
-------------------------------------------------------------------------------
Key: NH-2651
URL: http://216.121.112.228/browse/NH-2651
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.1.0
Reporter: Francois Ward
Priority: Major
Attachments: MissingParametersInConditionalWithLike.zip
As discussed on https://groups.google.com/forum/#!searchin/nhusers/regression$20conditional$20francois/nhusers/PQKwOhNkYqI/hJCf9HX_vv0J
This used to work in 2.1GA for sure, and I didn't notice the issue in 3.0, though it could have been there (I don't have a 3.0 environment handy anymore).
When combining Projections.Conditional, Constant in a LikeExpression, some parameters are not sent properly, in the wrong order or missing, resulting in invalid SQL
Test attached to reproduce the issue (hopefully I did it right)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|