Project

Profile

Help

Issue #7257

closed

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

Added by quba42 over 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
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)CLOSED - CURRENTRELEASEActions
Related to Debian Support - Issue #7236: Sync fails if packages do not have a 'section' fieldCLOSED - CURRENTRELEASEActions
Actions #1

Updated by pulpbot over 4 years ago

  • Status changed from NEW to POST
Actions #2

Updated by quba42 over 4 years ago

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

Updated by quba42 over 4 years ago

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

Added by msinghal over 4 years ago

Revision eb07e88b | View on GitHub

Modify data type of fields in content model

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

Actions #4

Updated by msinghal over 4 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by quba42 over 4 years ago

  • Sprint/Milestone changed from Katello to 2.6.0b1
Actions #6

Updated by quba42 over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF