Issue #1828
closed
pulp doesn't sync reference title correctly from errata
Status:
CLOSED - CURRENTRELEASE
Description
if an errata's reference is in format:
<reference href="href" type="self" title="title"/>
pulp doesn't sync title at all.
- Status changed from NEW to POST
jluza since you put in a PR I put you as the assignee. That field is used to track who did the work issue by issue.
- Subject changed from pulp doesn't sync reference title correctly to pulp doesn't sync reference title correctly from errata
- Description updated (diff)
- Priority changed from Normal to High
- Version set to 2.8.0
- Platform Release set to 2.8.3
- Triaged changed from No to Yes
- Triaged changed from Yes to No
Reproducer:
1. create rpm repo
2. sync from already existing repo that has at least one advisory with at least one reference with existing, non-empty title attribute
3. publish repo
4. published advisory in updateinfo will have title=null
- Triaged changed from No to Yes
jluza, I looked for a repo that meets the criteria of step (2) in comment 7, but I could not find one. Can you identify the repo and errata inside of that repo more specifically which meets the critiera? I really want to review this, but I'm blocked finding the thing I should test it with.
I reproduced the issue by syncing RHEL7.0 server and looking at the metadata entry for errata RHBA-2015:2255 it shows the snippet:
<reference href="https://rhn.redhat.com/errata/RHBA-2015-2255.html" id="" title="" type="self" />
After applying the fix from the linked PR that same line publishes with:
<reference href="https://rhn.redhat.com/errata/RHBA-2015-2255.html" id="" title="RHBA-2015:2255" type="self" />
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
https://pulp.plan.io/issues/1828 fixes #1828