Project

General

Profile

Actions

Bug #14637

closed

rudder-dev fails to assign a ticket on redmine 4.0

Added by Alexis Mousset about 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Rudder dev tools
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

When there is no initial assigned user, it fails with:

Looking for Redmine ticket #4076...  Done
Traceback (most recent call last):
  File "/home/amousset/tools/bin/rudder-dev", line 2615, in <module>
    commit(arguments['<trigraph>'], arguments['<PR_comment>'], arguments['--nopr'])
  File "/home/amousset/tools/bin/rudder-dev", line 1951, in commit
    info = ticket_from_branch(current_branch)
  File "/home/amousset/tools/bin/rudder-dev", line 1288, in ticket_from_branch
    return get_ticket_info(ticket_id, internal, must_be_open)
  File "/home/amousset/tools/bin/rudder-dev", line 1129, in get_ticket_info
    if int(detail['old_value']) != my_id:
TypeError: int() argument must be a string or a number, not 'NoneType'
Actions #1

Updated by Alexis Mousset about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-tools/pull/468
Actions #3

Updated by Alexis Mousset about 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF