Bug 1101728 - Uploaded errata don't have the same attribute types as sync'd errata
Summary: Uploaded errata don't have the same attribute types as sync'd errata
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: Master
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 19:40 UTC by Randy Barlow
Modified: 2015-02-28 22:09 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:09:06 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 439 0 None None None Never

Description Randy Barlow 2014-05-27 19:40:46 UTC
I learned during the fixing of #1100848[0] that some of the attributes for an uploaded erratum don't have the same types as the synchronized versions. The only attribute I know this for sure about is "pushcount". For an uploaded erratum, pushcount will be an integer, but for a sync'd erratum it will be a string (of an integer).

We needed to fix [0] quickly so we went for making sure we only have strings to ElementTree. I believe the correct fix is to make sure we are consistent about the types that land in our database between synchronizing errata and uploading them. I personally believe that pushcount should be an int in the database, so for that case we should fix the synchronization code.

I set the severity to low because I cannot think of a use case that this would cause an issue for.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1100848

Comment 1 Brian Bouterse 2015-02-28 22:09:06 UTC
Moved to https://pulp.plan.io/issues/439


Note You need to log in before you can comment on or make changes to this bug.