Uploaded image for project: 'Doctrine PHPCR'
  1. Doctrine PHPCR
  2. PHPCR-91

getSIngleResult throws ambiguous Exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        dantleech Daniel Leech created issue -
        dantleech 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
        dbu David Buchmann made changes -
        Priority Minor [ 4 ] Blocker [ 1 ]
        lsmith Lukas Kahwe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: