[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-616?pag...
]
Kariem Hussein commented on HSEARCH-616:
----------------------------------------
I did not add a test case because it took to long to set up all the requirements to call
this method (using decent mock framework would greatly enhance the test suites).
The proposed changes have been added via github fork/pull request:
[
hibernate-search/pull/3|http://github.com/hibernate/hibernate-search/pull/3]
Factory method invocation in FullTextQueryImpl swallows exception
-----------------------------------------------------------------
Key: HSEARCH-616
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-616
Project: Hibernate Search
Issue Type: Bug
Affects Versions: 3.3.0.Beta2
Reporter: Kariem Hussein
{{org.hibernate.search.query.FullTextQueryImpl.createFilter(FilterDef, Object)}} calls
the {{FilterDef}}'s factory method via reflection and throws a {{SearchException}} if
it encounters an error. The problem is that the generated exception does not contain the
causing throwable, which would be interesting especially for an
{{InvocationTargetException}}.
See also [this forum
post|https://forum.hibernate.org/viewtopic.php?p=2434834#p2434834].
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira