Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2728

UI should alert user if it gets passed malformed data

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: con.oozie
    • Labels:
      None

      Description

      Frontend applications should notify the user if it gets passed malformed data. For example, in the Oozie UI's initializeWorkflowData initializeNodeData, it tries to parse the data field as JSON, which raises an exception if it's not a JSON string. When this happens, it prevents rendering the workflow graph, and just looks like it's stuck waiting for data from Oozie. Instead it would be much easier to debug what's going on if the UI popped up an alert or something saying that the frontend received malformed data from the backend. This would make this bug much easier to debug.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erickt Erick Tryzelaar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: