Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-1226

ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: 1.4
    • Component/s: jackrabbit-jcr-rmi
    • Labels:
      None

      Description

      The ServerQuery sould use the Factory for creating ServerQueryResult.

      Siehe the method ServerQuery.execute():

      public RemoteQueryResult execute() throws RepositoryException, RemoteException {
              return new ServerQueryResult(query.execute(), getFactory());
          }
      

      it should be:

          public RemoteQueryResult execute() throws RepositoryException, RemoteException {
              return getFactory().getRemoteQueryResult(this.query.execute());
          }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Vladimir Bayanov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development