Bug 786192

Summary: Querying Repository for Errata provides less verbose errata information than querying errata itself
Product: [Retired] Pulp Reporter: Eric Helms <ehelms>
Component: user-experienceAssignee: Todd Sanders <tsanders>
Status: CLOSED NEXTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-20 15:19:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Helms 2012-01-31 17:11:36 UTC
Description of problem:
When querying the API for the errata within a repository the details of the errata are not as verbose as querying the errata API directly.  

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


How reproducible:


Steps to Reproduce:
1. Create and sync repository with errata
2. Use API to query the repository for errata
3.
  
Actual results:
Query:
curl -u admin:admin -k https://localhost/pulp/api/repositories/ACME_Corporation-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server/errata/

Produces:
  {
    "repoids": [
      "ACME_Corporation-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server"
    ],
    "title": "lohit-telugu-fonts enhancement update",
    "_id": "RHEA-2011:1142",
    "type": "enhancement",
    "id": "RHEA-2011:1142",
    "severity": ""
  }


Expected results:
{
  "issued": "2011-08-10 00:00:00",
  "references": [
    {
      "href": "https://rhn.redhat.com/errata/RHEA-2011-1142.html",
      "type": "self",
      "id": null,
      "title": "RHEA-2011:1142"
    }
  ],
  "pkglist": [
    {
      "packages": [
        {
          "src": "lohit-telugu-fonts-2.4.5-5.el6.src.rpm",
          "name": "lohit-telugu-fonts",
          "sum": [
            "sha256",
            "76b096b7cf520eaf5a7d0c358292b6def5e6e4918d816df0fca1cae3376aafa4"
          ],
          "filename": "lohit-telugu-fonts-2.4.5-5.el6.noarch.rpm",
          "epoch": "0",
          "version": "2.4.5",
          "release": "5.el6",
          "arch": "noarch"
        }
      ],
      "name": "Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)",
      "short": "rhel-x86_64-server-6"
    }
  ],
  "id": "RHEA-2011:1142",
  "severity": "",
  "title": "lohit-telugu-fonts enhancement update",
  "_ns": "errata",
  "version": "1",
  "reboot_suggested": false,
  "type": "enhancement",
  "immutable": true,
  "status": "final",
  "updated": "2011-12-06 01:14:38",
  "description": "The lohit-telugu-fonts package provides a free Telugu TrueType/OpenType font.\n\nThis update adds the following enhancement:\n\n* Unicode 6.0, the most recent major version of the Unicode standard, introduces\nthe Indian Rupee Sign (U+20B9), the new official Indian currency symbol. With\nthis update, the lohit-telugu-fonts package now includes a glyph for this new\ncharacter. (BZ#691297)\n\nAll users requiring the Indian rupee sign should install this updated package,\nwhich adds this enhancement.\n",
  "repo_defined": true,
  "pushcount": 1,
  "from_str": "security",
  "repoids": [
    "ACME_Corporation-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server"
  ],
  "rights": "Copyright 2011 Red Hat Inc",
  "solution": "Before applying this update, make sure all previously-released errata\nrelevant to your system have been applied.\n\nThis update is available via the Red Hat Network. Details on how to\nuse the Red Hat Network to apply this update are available at\nhttps://access.redhat.com/kb/docs/DOC-11259\n",
  "summary": "An updated lohit-telugu-fonts package which adds one enhancement is now\navailable for Red Hat Enterprise Linux 6.\n",
  "release": "",
  "_id": "RHEA-2011:1142"
}


Additional info:

Comment 86 Eric Helms 2013-03-20 15:19:31 UTC
Closing due to change over to using PulpV2.