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 3 years ago. Updated almost 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

Also available in: Atom PDF