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

Unclear how to create Parse/UnparseError from ParseOrUnparseState

    XMLWordPrintableJSON

Details

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

    Description

      It is unclear how to create a parse/unparse error using ParseOrUnparseState while creating a layer transform. Currently we can create a SDE using ParseOrUnparseState, but there are situations where the issue is with the data, not the schema.

      A possible workaround is to manually recreate what PE and UE do as in:

      parserOrUnparseState match {
        case pstate: PState => // do what PE(...) does
        case ustate: UState => // do what UE(...) does
      }
      

      Related to DAFFODIL-2841

      Attachments

        Activity

          People

            mbeckerle Mike Beckerle
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: