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

Runtime SDE in ElementCombinator parser with validation causes "Expression Evaluation Error: Element does not have a value"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0
    • Back End
    • None

    Description

      The finally block for the ElementCombinator parser calls parseEnd which does restriction validation. But if an exception was thrown then we do not have a value to validate, which creates an "Element does not have a value" exception and hides the underlying exception. We should only perform validation if the parser actually succeeds, so this logic needs to be moved out of the finally block.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: