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

ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 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
    • 1.4
    • jackrabbit-jcr-rmi
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: