horizon/openstack_dashboard/test
Shu Muto c920dc9d42 Fix Angular errors in openstack_auth
Angular errors on login page are caused by loading ngdetails view.
Although registration of URL for ngdetails is executed on top level
of Horizon, ngdetails view is not needed to be loaded in login page,
i.e. openstack_auth side.
To fix this issue, this patch moves registration of URL for ngdetails
into openstack_dashboard side.

Conflicts:
	openstack_dashboard/test/urls.py
	openstack_dashboard/urls.py

The above conflicts are caused by bp/django2-support which landed in Rocky,
particully by https://review.openstack.org/#/c/527323/12.

Another problem:

ngdetails url doesn't have project prefix after Ocata release, pls see:
https://github.com/openstack/horizon/blob/stable/ocata/ \
    openstack_dashboard/static/app/core/images/images.service.js#L59
https://github.com/openstack/horizon/blob/stable/pike/ \
    openstack_dashboard/static/app/core/images/images.service.js#L69

So the following simple changes need to be made in urls.py
in addition to the primitive backport patches.

-ngdetails_url = url(r'^ngdetails/',
+ngdetails_url = url(r'^project/ngdetails/',

Change-Id: Ib039417b4e666c2341f17ac05fd7723bc758816c
Closes-Bug: #1754133
Closes-Bug: #1753557
(cherry picked from commit f494c6f2d4)
(cherry picked from commit 6f6f46dc6d)
Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
2019-01-15 13:58:14 +08:00
..
api_tests Fetch Cinder availability zones list for volume creation 2017-11-02 13:28:14 +00:00
integration_tests Update the access_and_security url 2017-04-25 22:55:14 +09:00
jasmine Remove unused jasmine_tests.py 2015-05-13 12:39:00 -06:00
templates Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
test_data Merge "missing" quotas with nova quotas 2017-03-02 11:33:00 +00:00
test_panels Add Apache 2.0 license to source file 2016-12-02 17:40:28 +07:00
test_plugins assertEquals is deprecated, use assertEqual 2016-01-27 00:59:19 +08:00
tests Merge "missing" quotas with nova quotas 2017-03-02 11:33:00 +00:00
__init__.py Revamp of testing machinery. 2012-04-23 22:24:21 -07:00
error_pages_urls.py Add Apache 2.0 license to source file 2016-12-02 17:40:28 +07:00
helpers.py Fake deprecated nova client properties 2017-01-18 11:01:10 -05:00
settings.py Adding identity ng-roles panel 2017-01-04 11:54:59 -08:00
urls.py Fix Angular errors in openstack_auth 2019-01-15 13:58:14 +08:00
views.py Fix Angular errors in openstack_auth 2019-01-15 13:58:14 +08:00