Project

Profile

Help

Issue #1828

closed

pulp doesn't sync reference title correctly from errata

Added by jluza about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.0
Platform Release:
2.8.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

if an errata's reference is in format:
<reference href="href" type="self" title="title"/>
pulp doesn't sync title at all.

Actions #2

Updated by jluza about 8 years ago

  • Status changed from NEW to POST
Actions #3

Updated by bmbouter about 8 years ago

  • Assignee set to jluza

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.

Added by jluza about 8 years ago

Revision 7bcfb290 | View on GitHub

  • fixed sync for reference title

https://pulp.plan.io/issues/1828 fixes #1828

Actions #5

Updated by mhrivnak about 8 years ago

  • 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
Actions #6

Updated by mhrivnak about 8 years ago

  • Triaged changed from No to Yes
Actions #7

Updated by jluza about 8 years ago

  • 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

Actions #8

Updated by jluza about 8 years ago

  • Triaged changed from No to Yes
Actions #9

Updated by bmbouter about 8 years ago

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.

Actions #11

Updated by bmbouter about 8 years ago

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" />
Actions #12

Updated by jluza about 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #13

Updated by semyers almost 8 years ago

  • Status changed from MODIFIED to 5
Actions #14

Updated by semyers almost 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #15

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF