Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 961595

Summary: Foreman UI does not properly pluralize when more than one organization exists.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: ProvisioningAssignee: Dominic Cleal <dcleal>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, cbillett, dcleal
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/2495
Whiteboard:
Fixed In Version: foreman-1.1.10004-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-18 18:45:18 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:
Embargoed:

Description Corey Welton 2013-05-10 03:10:24 UTC
Description of problem:
If more than one org exists, and user goes to org view in foreman, the counter on the org view reads incorrectly.

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


How reproducible:


Steps to Reproduce:
1.  Create a new org in katello, "Second_Org"
2.  Navigate to Org view in /foreman
3.  View summary box below the org list
  
Actual results:

Displaying all 2 Organization

Expected results:

Displaying all 2 Organization(s)

Additional info:

Comment 1 Dominic Cleal 2013-05-13 07:49:34 UTC
This is a recurring problem in the UI, as will_paginate (the library that provides pagination) isn't integrated into the i18n framework Foreman's using.  There are a few similar places where the noun is hardcoded in Foreman and passed into will_paginate.

Comment 2 Bryan Kearney 2013-06-04 19:58:39 UTC
http://projects.theforeman.org/issues/2495 sappears to be closed. moving to 6.0.1

Comment 3 Dominic Cleal 2013-06-04 20:03:31 UTC
Fixed upstream in:

1.2-stable: ce81cfdad1bcbb136a90cb16380068c6be631c0a
develop: 1bf7cc358e00092d2cee38cc83cb753ed31ffa89

Comment 4 Dominic Cleal 2013-09-17 20:41:28 UTC
Actually made it into MDP1 via b80e776a74b2b4afa4ec3af131f59df245b77402.