Comment 28 for bug 1681627

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/ocata)

Reviewed: https://review.openstack.org/629373
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f557a8dd34e91b60de2f4a192aad3a0861b4b5ac
Submitter: Zuul
Branch: stable/ocata

commit f557a8dd34e91b60de2f4a192aad3a0861b4b5ac
Author: Shu Muto <email address hidden>
Date: Thu Nov 16 16:55:46 2017 +0900

    Enable to refresh ngdetails view

    For now, refreshing ngdetails view by browser using F5 key or reload
    button, it causes 404 error from django. To fix this issue, this patch
    adds the url for '/ngdetails' into django.

    To reproduce navigations, each request for views.py requires
    'dashboard' and 'panel' object. Otherwise django side returns
    500 error.

    However the URL for request of details page (i.e. /ngdetails/)
    can not provide informations to set the proper navigation.

    So this patch set them to default dashboard and default panel.

    This patch focuses to prevent 500 error. So the issue for
    settings of proper navigation will be fixed by subsequent patch.

    Change-Id: Ib9f1fe48b3cdecff5ad56e68a5ba58a41cb35f38
    Closes-Bug: #1681627
    (cherry picked from commit 077163a03c9aea08efd56251e49d69eb1cc4d093)
    (cherry picked from commit a0fc40b4e85d3090e657cca9824de719b33a7ba2)
    Signed-off-by: Zhang Hua <email address hidden>