Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3320

Error conditions in web apps should stop pages from rendering.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: None
    • Component/s: mrv2
    • Labels:
      None

      Description

      There are several places in the web apps where an error condition should short circuit the page from rendering, but it does not. Ideally the web app framework should be extended to support exceptions similar to Jersey that can have an HTTP return code associated with them. Then all of the places that produce custom error pages can just throw these exceptions instead.

        Activity

        Hide
        Robert Joseph Evans added a comment -

        The UI actually will do a redirect back to itself with a cookie set indicating that an error happened. This results in the page being redrawn with the error.

        Show
        Robert Joseph Evans added a comment - The UI actually will do a redirect back to itself with a cookie set indicating that an error happened. This results in the page being redrawn with the error.

          People

          • Assignee:
            Robert Joseph Evans
            Reporter:
            Robert Joseph Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development