network topology: Status untranslated

Bug #1484113 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Doug Fish
openstack i18n
Fix Released
Medium
Unassigned

Bug Description

on network_topology, the status of an instance or a router is not being translated.

The green/red light left hand side of status is hard wired to the word 'ACTIVE' (if status == 'ACTIVE', then green light)

Matthias Runge (mrunge)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
zhaoyim (yyyiming) wrote :

could anyone give us more details steps about how to recreate this issue? Thanks!

Zhao Zhe (zzbj)
Changed in horizon:
assignee: nobody → Zhao Zhe (zzbj)
Revision history for this message
Zhao Zhe (zzbj) wrote :

need i18n team to translate all possible status texts for instances and routers in djangojs.po

Changed in horizon:
status: New → In Progress
Akihiro Motoki (amotoki)
Changed in openstack-i18n:
status: New → Confirmed
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/268087

Changed in horizon:
assignee: Zhao Zhe (zzbj) → Itxaka Serrano (itxakaserrano)
Changed in horizon:
assignee: Itxaka Serrano (itxakaserrano) → Doug Fish (drfish)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/269049

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/268087
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=031aed50a3cb5e8344b36abf5fb88ba7947b9efd
Submitter: Jenkins
Branch: master

commit 031aed50a3cb5e8344b36abf5fb88ba7947b9efd
Author: Itxaka <email address hidden>
Date: Fri Jan 15 12:29:52 2016 +0100

    Translate status in network topology

    Enables the translation of the status on
    network topology.
    Provides a json decoder that will resolve
    lazy objects like translations.
    Moves STATUS_DISPLAY_CHOICES and
    ADMIN_STATE_DISPLAY_CHOICES out of the RoutersTable
    for easy access to their status from other parts
    of the code.
    All network objects have their status translated
    and a new item called original_status which provides
    the untranslated status so the javascript code
    is able to display the proper image (green/red)
    based on the original status instead of doing it
    on the translation.

    Change-Id: Ic8cebafe7fbc291fa8933e8d1c2a244be20128e3
    Closes-Bug: #1323599
    Closes-Bug: #1484113

Changed in horizon:
status: In Progress → Fix Released
Changed in openstack-i18n:
importance: Undecided → Medium
status: Confirmed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b3

This issue was fixed in the openstack/horizon 9.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/liberty)

Reviewed: https://review.openstack.org/269049
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4fa0595078dfd8b83b22cff176eb7dd0bf32bdfe
Submitter: Jenkins
Branch: stable/liberty

commit 4fa0595078dfd8b83b22cff176eb7dd0bf32bdfe
Author: Itxaka <email address hidden>
Date: Fri Jan 15 12:29:52 2016 +0100

    Translate status in network topology

    Enables the translation of the status on
    network topology.
    Provides a json decoder that will resolve
    lazy objects like translations.
    Moves STATUS_DISPLAY_CHOICES and
    ADMIN_STATE_DISPLAY_CHOICES out of the RoutersTable
    for easy access to their status from other parts
    of the code.
    All network objects have their status translated
    and a new item called original_status which provides
    the untranslated status so the javascript code
    is able to display the proper image (green/red)
    based on the original status instead of doing it
    on the translation.

    Includes patch https://review.openstack.org/#/c/273860/ for bug 1539358

    Change-Id: Ic8cebafe7fbc291fa8933e8d1c2a244be20128e3
    Closes-Bug: #1323599
    Closes-Bug: #1484113
    (cherry picked from commit 031aed50a3cb5e8344b36abf5fb88ba7947b9efd)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 8.0.2

This issue was fixed in the openstack/horizon 8.0.2 release.

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.