Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-91

getSIngleResult throws ambiguous Exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Labels:

      Description

      Query->getSingleResult correctly throws an Exception when there are no results (or more than one), but it is an Exception that could also be produced by other things, so not guaranteed to mean that (
      (http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query.html#getsingleresult)

        Activity

        Daniel Leech created issue -
        Daniel Leech made changes -
        Field Original Value New Value
        Summary [QueryBuilder][1,0] getSIngleResult throws ambiguous Exception getSIngleResult throws ambiguous Exception
        Labels 1.0 querybuilder, 1.0 query
        David Buchmann made changes -
        Priority Minor [ 4 ] Blocker [ 1 ]
        Show
        Lukas Kahwe added a comment - https://github.com/doctrine/phpcr-odm/pull/320
        Lukas Kahwe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=PHPCR-91, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Daniel Leech
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: