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

Layers do not support (or poorly documented) creating SDE or Parse/UnparseErrors

    XMLWordPrintableJSON

Details

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

    Description

      From what I can tell, there is no way for a layer signal that an error occurred, or at least non of our current layers seem to check and handle any errors, so if it can be done it needs better examples.

      If a we do something like layerRuntimeInfo.runtimeData.SDE(...), then that SDE exception is caught by the layer infrastructure and turned into a LayerExecutionException, which seems like it's used to indicate bugs in a layer. Throwing an SDE should not be considered a bug.

      It looks like some functions do provide ParseOrUnparseState, so maybe we could create a Parse/UnparseError, but it's not exactly clear or documented if/how this should be used, or even if the layer infrastructure checks the state. This needs some clarification.

      Attachments

        Activity

          People

            mbeckerle Mike Beckerle
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: