[
https://issues.apache.org/jira/browse/JCR-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-1226.
--------------------------------
Resolution: Fixed
Fixed as suggested in revision 608836. Merged to the 1.4 branch in revision
608837.
> ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult
> ----------------------------------------------------------------------------
>
> Key: JCR-1226
> URL: https://issues.apache.org/jira/browse/JCR-1226
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-rmi
> Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3,
> 1.3.1, 1.3.3
> Reporter: Vladimir Bayanov
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.4
>
>
> The ServerQuery sould use the Factory for creating ServerQueryResult.
> Siehe the method ServerQuery.execute():
> {code}
> public RemoteQueryResult execute() throws RepositoryException,
> RemoteException {
> return new ServerQueryResult(query.execute(), getFactory());
> }
> {code}
> it should be:
> {code}
> public RemoteQueryResult execute() throws RepositoryException,
> RemoteException {
> return getFactory().getRemoteQueryResult(this.query.execute());
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.