Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1821

isError returns false even when there are validation errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0
    • API
    • None

    Description

      Currently, ParseResult#isError only returns true if there are parse errors. If there are validation errors, it will return false. This is incorrect. Instead, isError should return true if there are either parse errors or validation errors. Furthermore, we should add new API functions (e.g. isParseError, isUnparseError, isValidationError) that can be used to determine specifically what kind of error occurred if the user only cares��about one type of error (e.g. validation vs parse errors).

      Attachments

        Activity

          People

            jadams_tresys Josh Adams
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: