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 ]
        Lukas Kahwe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: