Project

Profile

Help

Issue #5894

Creating a RepositoryVersion outside of a task raises an exception

Added by dkliban@redhat.com 7 months ago. Updated 6 months ago.

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

Description

Pulp raises an exception if a repository version is created outside of a task.

Associated revisions

Revision b0195d04 View on GitHub
Added by daviddavis 6 months ago

Fix call to Task.current()

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

(cherry picked from commit 7c1aee68391d19befed1ad33c30d94857b7d7eab)

History

#1 Updated by fao89 7 months ago

  • Triaged changed from No to Yes

#2 Updated by fao89 7 months ago

staticmethod is not working

In [1]: Task.current is None                   
Out[1]: False

In [2]: Task.current() is None                 
Out[2]: True

In [3]: Task.current                           
Out[3]: <function pulpcore.app.models.task.Task.current()>

#3 Updated by daviddavis 6 months ago

  • Status changed from NEW to POST
  • Assignee set to daviddavis

#4 Updated by daviddavis 6 months ago

  • Status changed from POST to MODIFIED

#6 Updated by bmbouter 6 months ago

  • Sprint/Milestone set to 3.0.1

#7 Updated by bmbouter 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF