[UI][Sahara] In case of job execution validation failure UI doesn't display error right

Bug #1350110 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Andrew Lazarev

Bug Description

Steps to repro:

1. create cluster without oozie
2. run job on it using UI

Expected result: UI will display that oozie is missing
Observed result: Failure error with 'None' description. See screenshot.

Revision history for this message
Andrew Lazarev (alazarev) wrote :
summary: - [UI] In case of job execution validation failure UI doesn't display
- error right
+ [UI][Sahara] In case of job execution validation failure UI doesn't
+ display error right
Changed in horizon:
assignee: nobody → Andrew Lazarev (alazarev)
Changed in sahara:
assignee: nobody → Andrew Lazarev (alazarev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/110837

Changed in horizon:
status: New → In Progress
Changed in sahara:
milestone: none → juno-3
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → In Progress
David Lyle (david-lyle)
Changed in horizon:
milestone: none → juno-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/110837
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=26351aa5908ecd8f97fe8083bf1a64ed25729a2f
Submitter: Jenkins
Branch: master

commit 26351aa5908ecd8f97fe8083bf1a64ed25729a2f
Author: Andrew Lazarev <email address hidden>
Date: Wed Jul 30 19:38:08 2014 -0700

    Fixed error message for recoverable exceptions

    Issue was introduced by https://review.openstack.org/#/c/76354/
    In case of recovarable exceptions message is None and exc_value
    need to be used. But after encoding.force_unicode(message) message
    becomes u'None' and all checks on "if message" pass. This result
    in popup screen with 'None' text instead of problem description.

    Change-Id: I7bc2dd02f97ba2bb10a7fadd2c1b86b011eb5967
    Closes-Bug: #1350110

Changed in horizon:
status: In Progress → Fix Committed
no longer affects: sahara
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.