← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465221] [NEW] Horizon running in newer django, the fields is now not sorted correctly.

 

Public bug reported:

Create User form has wrong order of fields.

Correct order : "name", "email", "password", "confirm_password",
"project", "role".

Current order : "password", "confirm_password", "name", "email",
"project", "role".

this becomes the cause for integration test(test_create_delete_user)
fail.

Traceback (most recent call last):
/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py", line 26, in test_create_delete_user
self.assertTrue(users_page.is_user_present(self.USER_NAME))
File"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true

Can be seen both on latest devstack, or gate-horizon-dsvm-integration
gate job.

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "Create User form"
   https://bugs.launchpad.net/bugs/1465221/+attachment/4415031/+files/5Y2YxkG.png

** Description changed:

  Create User form has wrong order of fields.
+ 
+ this becomes the cause for integration test(test_create_delete_user)
+ fail.
+ 
+ Traceback (most recent call last):
+ /opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py", line 26, in test_create_delete_user
+ self.assertTrue(users_page.is_user_present(self.USER_NAME))
+ File"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
+ raise self.failureException(msg)
+ AssertionError: False is not true

** Description changed:

  Create User form has wrong order of fields.
  
- this becomes the cause for integration test(test_create_delete_user)
- fail.
+ Correct order : "name", "email", "password", "confirm_password",
+ "project", "role".
+ 
+ Current order : "password", "confirm_password", "name", "email",
+ "project", "role".
+ 
+ 
+ this becomes the cause for integration test(test_create_delete_user) fail.
  
  Traceback (most recent call last):
  /opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py", line 26, in test_create_delete_user
  self.assertTrue(users_page.is_user_present(self.USER_NAME))
  File"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
  raise self.failureException(msg)
  AssertionError: False is not true

-- 
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/1465221

Title:
  Horizon running in newer django, the fields is now not sorted
  correctly.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Create User form has wrong order of fields.

  Correct order : "name", "email", "password", "confirm_password",
  "project", "role".

  Current order : "password", "confirm_password", "name", "email",
  "project", "role".

  this becomes the cause for integration test(test_create_delete_user)
  fail.

  Traceback (most recent call last):
  /opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py", line 26, in test_create_delete_user
  self.assertTrue(users_page.is_user_present(self.USER_NAME))
  File"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
  raise self.failureException(msg)
  AssertionError: False is not true

  Can be seen both on latest devstack, or gate-horizon-dsvm-integration
  gate job.

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


Follow ups

References