Project

Profile

Help

Issue #5894

closed

Creating a RepositoryVersion outside of a task raises an exception

Added by dkliban@redhat.com almost 5 years ago. Updated almost 5 years 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:
Quarter:

Description

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

Actions #1

Updated by fao89 almost 5 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by fao89 almost 5 years 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()>
Actions #3

Updated by daviddavis almost 5 years ago

  • Status changed from NEW to POST
  • Assignee set to daviddavis
Actions #4

Updated by daviddavis almost 5 years ago

  • Status changed from POST to MODIFIED

Added by daviddavis almost 5 years ago

Revision b0195d04 | View on GitHub

Fix call to Task.current()

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

(cherry picked from commit 7c1aee68391d19befed1ad33c30d94857b7d7eab)

Actions #6

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.1
Actions #7

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF