Project

Profile

Help

Issue #7257

Many pulp_deb control file fields are limited to 255 characters but should not be

Added by quba42 3 months ago. Updated about 2 months ago.

Status:
MODIFIED
Priority:
High
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

This results in the following error when trying to sync or upload packages with too much data within some field:

django.db.utils.DataError: value too long for type character varying(255)

Can be reproduced using:

wget http://ftp.de.debian.org/debian/pool/main/b/burrow/burrow_1.2.1-1_amd64.deb

("Built-Using" field is too long.)

Proposal: Convert all fields were we are not certain they won't exceed the limit from CharField to TextField


Related issues

Related to Debian Support - Issue #7190: Pulp 3 - pulp-deb : APT client installing same patches again and again (field Multi-Arch)MODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Debian Support - Issue #7236: Sync fails if packages do not have a 'section' fieldMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision eb07e88b View on GitHub
Added by msinghal 3 months ago

Modify data type of fields in content model

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

History

#1 Updated by pulpbot 3 months ago

  • Status changed from NEW to POST

#2 Updated by quba42 3 months ago

  • Related to Issue #7190: Pulp 3 - pulp-deb : APT client installing same patches again and again (field Multi-Arch) added

#3 Updated by quba42 3 months ago

  • Related to Issue #7236: Sync fails if packages do not have a 'section' field added

#4 Updated by msinghal 3 months ago

  • Status changed from POST to MODIFIED

#5 Updated by quba42 about 2 months ago

  • Sprint/Milestone changed from Katello to 2.6.0b1

Please register to edit this issue

Also available in: Atom PDF