Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1226

ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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());
          }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: