Project

General

Profile

Actions

Bug #23770

closed

task_progress helper no longer accepts ID

Added by Andrew Kofink over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

It was changed to accept a hash, but integers are still allowed; however, how it was implemented in #17358, integers now cause `Error: undefined method `empty?' for 2:Integer`.

Found in nightly - this bug is currently not in a release of h-c-f-t.


Related issues 1 (0 open1 closed)

Related to foreman-tasks - Bug #17358: hammer task progress accepts NIL value for id parameterClosedAmit Karsale11/16/2016Actions
Actions #1

Updated by Andrew Kofink over 6 years ago

  • Related to Bug #17358: hammer task progress accepts NIL value for id parameter added
Actions #2

Updated by Andrew Kofink over 6 years ago

This is actually OK. This method does not accept integers, but the IDs of tasks are uuid strings. This bug was reported because hammer-cli-katello was passing integer IDs to this method in tests. :)

Actions #3

Updated by Andrew Kofink over 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF