Project

Profile

Help

Task #2675

closed

Rename 'results' field to 'error' for the Task document

Added by bmbouter over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 18
Quarter:

Description

This is the state of the model at the time of this writing: https://github.com/pulp/pulp/blob/3fe96dcbf48a59613df3494d838f6c3240fb5b52/app/pulp/app/models/task.py#L155

The 'result' field currently stores the return value from a task. That occurs here It also stores a fatal exception here.

This would rename the field as described in the title and update the associated helper methods: update set_failed() and set_completed().

Actions #1

Updated by amacdona@redhat.com over 7 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by mhrivnak over 7 years ago

  • Sprint Candidate changed from No to Yes
Actions #3

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 37
Actions #4

Updated by dalley over 7 years ago

  • Assignee set to dalley
Actions #5

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from NEW to ASSIGNED

Added by dalley over 7 years ago

Revision cda52cf0 | View on GitHub

Rename 'result' field on the Task model to 'error'.

closes #2675 https://pulp.plan.io/issues/2675

Added by dalley over 7 years ago

Revision cda52cf0 | View on GitHub

Rename 'result' field on the Task model to 'error'.

closes #2675 https://pulp.plan.io/issues/2675

Actions #6

Updated by dalley over 7 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 18
Actions #8

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (37)
Actions #9

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #10

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #11

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF