[dashboard] Hardcoded path to static dir in django views is used

Bug #1308063 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Ryan Peters

Bug Description

Urls to static files specified that way are buggy and can break if the static prefix changes. An alternative way described at http://stackoverflow.com/a/19369666 should be used

Timur Sufiev (tsufiev-x)
tags: added: low-hanging-fruit
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Changed in murano:
status: New → Confirmed
Ryan Peters (rjpeter2)
Changed in murano:
assignee: nobody → Ryan Peters (rjpeter2)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/91678
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=7f6c49e15ba4cf3c0471e6e684c9ce9f9e7c8c8b
Submitter: Jenkins
Branch: master

commit 7f6c49e15ba4cf3c0471e6e684c9ce9f9e7c8c8b
Author: Ryan Peters <email address hidden>
Date: Thu May 1 15:57:04 2014 -0500

    Changes hardcoded static paths to use static()

    URLs to static files hardcoded as a directory are buggy
    and can break if the static prefix changes. Instead use the
    static() method to generate the URL.

    Change-Id: I621983d195a5e7db0201653edceb44e327d6c4dc
    Closes-Bug: #1308063

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
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.