Project

Profile

Help

Issue #7431

closed

Removing distribution tree cause error on repository version

Added by ppicka over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 83
Quarter:

Description

How to reproduce:

  1. sync repository with dist tree e.g. fixtures[0] (got the repo_version and added dist_tree)
  2. remove dist_tree
  3. look (e.g. http GET) for repo version
AttributeError at /pulp/api/v3/repositories/rpm/rpm/6c56dc14-63f5-4ee1-ac1f-a542add7061a/versions/1/
'NoneType' object has no attribute 'cast'

[0] https://fixtures.pulpproject.org/rpm-distribution-tree/

Also available in: Atom PDF