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

        Vladimir Bayanov created issue -
        Jukka Zitting made changes -
        Field Original Value New Value
        Affects Version/s 1.0 [ 12310154 ]
        Affects Version/s 1.1.1 [ 12312099 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Affects Version/s 1.3.3 [ 12312770 ]
        Affects Version/s 1.3.1 [ 12312512 ]
        Assignee Jukka Zitting [ jukkaz ]
        Affects Version/s 1.1 [ 12310346 ]
        Affects Version/s 0.9 [ 12310719 ]
        Affects Version/s 1.2.3 [ 12312329 ]
        Affects Version/s 1.2.1 [ 12312100 ]
        Affects Version/s 1.0.1 [ 12310345 ]
        Affects Version/s 1.2.2 [ 12312228 ]
        Fix Version/s 1.4 [ 12312447 ]
        Hide
        Jukka Zitting added a comment -

        Fixed as suggested in revision 608836. Merged to the 1.4 branch in revision 608837.

        Show
        Jukka Zitting added a comment - Fixed as suggested in revision 608836. Merged to the 1.4 branch in revision 608837.
        Jukka Zitting made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jukka Zitting made changes -
        Workflow jira [ 12417638 ] no-reopen-closed, patch-avail [ 12469034 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development