[data processing] Remove absolute URLs from template

Bug #1434666 reported by Chad Roberts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Chad Roberts

Bug Description

In openstack_dashboard/dashboards/project/data_processing/jobs/templates/data_processing.jobs/config_template.html, there is a static URL used, "/project/data_processing/jobs/launch-job". That is not ideal because if the horizon webroot is changed from '/', it will not be correct.

The url should be changed to {% url 'horizon:project:data_processing.jobs:launch-job' %}

Also, in openstack_dashboard/dashboards/project/data_processing/wizard/templates/data_processing.wizard/wizard.html, /project/data_processing/wizard/jobex_guide should be changed to {% url 'horizon:project:data_processing.wizard:jobex_guide' %}

Tags: sahara
Chad Roberts (croberts)
Changed in horizon:
assignee: nobody → Chad Roberts (croberts)
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/166342

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

Reviewed: https://review.openstack.org/166342
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0bf001e1618878adae9dd99efda385fafc065aad
Submitter: Jenkins
Branch: master

commit 0bf001e1618878adae9dd99efda385fafc065aad
Author: Chad Roberts <email address hidden>
Date: Fri Mar 20 14:45:15 2015 -0400

    Removing absolute URLs from data processing templates

    Absolute URLs appeared in 2 of the data processing
    templates. Both have been updated to use the proper
    django url.

    Change-Id: I52b2730f7eb06fd83ccd11a8676b63a434bf2631
    Closes-Bug: #1434666

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
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.