← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1434666] [NEW] [data processing] Remove absolute URLs from template

 

Public bug reported:

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' %}

** Affects: horizon
     Importance: Undecided
     Assignee: Chad Roberts (croberts)
         Status: In Progress


** Tags: sahara

** Changed in: horizon
     Assignee: (unassigned) => Chad Roberts (croberts)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1434666

Title:
  [data processing] Remove absolute URLs from template

Status in OpenStack Dashboard (Horizon):
  In Progress

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' %}

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1434666/+subscriptions


Follow ups

References