Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2683

Storm UI - Topology action button error response hardcoded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 1.x
    • None
    • storm-ui
    • None

    Description

      Right now on confirming the topology ui action buttons (https://github.com/apache/storm/blob/4966d7a69318d2ca690c47dd43466b03574e5e9e/storm-core/src/ui/public/templates/topology-page-template.html#L607) the UI behaviour is to reload the page always (https://github.com/apache/storm/blob/10d381b303c9176ede0d1260428ad61c7757e396/storm-core/src/ui/public/js/script.js#L169) and in case of an error display a hardcoded error message "Error while communicating with Nimbus."

      While this behaviour is okay for workflows with no authorization it gets confusing when the action buttons are put behind some form of authorization. It will be much clearer to define an error message format and have the UI display the correct error message on authorization and other non-nimbus related failures.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaydeepkaria Jaydeep Karia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: