Bug 1027014

Summary: [ALL_LANG] Wrong quota name listed on Default Quotas tab
Product: Red Hat OpenStack Reporter: Yuko Katabami <ykatabam>
Component: python-django-horizonAssignee: Julie Pichon <jpichon>
Status: CLOSED ERRATA QA Contact: Lijun Li <lijli>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.0CC: aortega, athomas, breeler, jpichon, mrunge, qe-i18n-bugs, yeylon
Target Milestone: z1Keywords: i18n, Triaged, ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-2013.2.1-1.el6ost Doc Type: Bug Fix
Doc Text:
In OpenStack Dashboard, the string for the injected_file_path_bytes quota was mistakenly set to "Injected File Content Bytes". As a result, in the Defaults quotas tab, "Injected File Content Bytes" would appear twice, but with two different values. This has been fixed so that the list of defaults for quotas is now displayed correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 14:23:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Default Quotas tab - Quotas table
none
Update Default Quotas wiindow
none
Injected File Path Bytes -- fixed (en-US)
none
Injected File Path Bytes -- fixed (ja-JP) none

Description Yuko Katabami 2013-11-05 22:06:18 UTC
Created attachment 820046 [details]
Default Quotas tab - Quotas table

Description of problem:
In Quotas table, one of the quota name is wrong

Version-Release number of selected component (if applicable): 4.0


How reproducible: 100%


Steps to Reproduce:
1. Log in to Dashboard with admin account
2. On the left side panel, click Admin => Defaults 
3. On the main panel, check the quota names listed: There are two "Injected File Content Bytes" with different values (10240 and 255)
4. Click "Update Defaults" button
5. Check the default quotas listed.
"Injected File Content Bytes" has value of 10240
"Injected File Path Bytes" has value of 255

Actual results:
In the Quotas table on the Default Quotas tab, duplicated quota "Injected File Content Bytes" is listed with value of 255


Expected results:
It should be changed to "Injected File Path Bytes"

Additional info:
Screenshots attached

Comment 1 Yuko Katabami 2013-11-05 22:07:22 UTC
Created attachment 820048 [details]
Update Default Quotas wiindow

Comment 3 Yuko Katabami 2013-11-05 22:49:01 UTC
Confirmed that translation of the string "Injected File Path Bytes" is included in the upstream file.

Comment 4 Julie Pichon 2013-11-12 16:49:04 UTC
The error slipped in the English strings when the default quota names were made translatable: https://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/admin/defaults/tables.py#n42

Comment 5 Julie Pichon 2013-11-27 10:49:28 UTC
Backported submitted upstream, should be part of 2013.2.1.

Comment 7 Yuko Katabami 2014-01-21 05:51:50 UTC
Created attachment 852970 [details]
Injected File Path Bytes -- fixed (en-US)

Comment 8 Yuko Katabami 2014-01-21 05:52:29 UTC
Created attachment 852971 [details]
Injected File Path Bytes -- fixed (ja-JP)

Comment 9 Yuko Katabami 2014-01-21 05:53:03 UTC
Verified on the latest RHOS 4.0.z puddle. Screenshot attached. Moving the status to VERIFIED.

Comment 12 Lon Hohberger 2014-02-04 17:20:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-0046.html