[Fedora QA] #325: Update sync fails if update title is too long
Fedora QA
trac at fedorahosted.org
Mon Dec 17 21:11:10 UTC 2012
#325: Update sync fails if update title is too long
--------------------------------------+------------------------
Reporter: tflink | Owner: tflink
Type: defect | Status: new
Priority: blocker | Milestone: Fedora 18
Component: Blocker bug tracker page | Version: 1.0
Keywords: | Blocked By:
Blocking: |
--------------------------------------+------------------------
= bug description =
If an update's title is too long, it won't fit into the database field
(currently 2048 characters long) and the sync crashes prior to completing.
[https://admin.fedoraproject.org/updates/FEDORA-2012-20337/ A recent ocaml
update caused this bug to surface]
= bug analysis =
At the moment, the tracker's sync operation fails 100% of the time since
the previously mentioned ocaml update is marked as an NTH fix.
= fix recommendation =
This should be fixed properly, but at this point I'm just planning to do a
dirty hack of checking the title's length against a hardcoded value and
truncating it if it's too long.
This is the wrong way to fix the issue and I suspect that it'll cause
problems with link formation to bodhi but it needs to be fixed well enough
now so that sync doesn't crash midway through.
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/325>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
More information about the test
mailing list