yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93087
[Bug 2040129] Re: InstanceDetailTests::test_instance_details_metadata fails in Django 4.2
Reviewed: https://review.opendev.org/c/openstack/horizon/+/899021
Committed: https://opendev.org/openstack/horizon/commit/5c61331ff229b4e9e8b51c6335cd1895b90fdfa0
Submitter: "Zuul (22348)"
Branch: master
commit 5c61331ff229b4e9e8b51c6335cd1895b90fdfa0
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date: Mon Oct 23 15:36:49 2023 +0900
Django 4.2: Adjust instance detail template
The template for the instance detail overview uses Django template
filters to define a default value for metadata with an empty value.
This usage looks magic and does not work with Django 4.2.
It looks like this is an undocumented/unspecified behavior.
This commit changes it to use {% if %} template syntax instead of
depending on the unspcified behavior.
Closes-Bug: #2040129
Change-Id: Ida5b2a721f2657347c174e386d2e023dffd64b1b
** Changed in: horizon
Status: In Progress => Fix Released
--
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/2040129
Title:
InstanceDetailTests::test_instance_details_metadata fails in Django
4.2
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
openstack_dashboard/dashboards/project/instances/tests.py::InstanceDetailTests::test_instance_details_metadata
fails with Django 4.2.
https://paste.opendev.org/show/b1shjdi1CWeXZMuPEyEY/
Failure example is found at
https://zuul.opendev.org/t/openstack/build/2b2cf8974891413091929f214a05970e/log/job-output.txt#39829-39856
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2040129/+subscriptions
References