Project

General

Profile

Actions

Bug #8235

closed

Error when user in Redmine has no mail in rudder-dev

Added by Raphael GAUTHIER almost 8 years ago. Updated over 7 years ago.

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

Description

After using rudder-dev commit, I got this error message :

Traceback (most recent call last):
  File "/usr/local/bin/rudder-dev", line 1623, in <module>
    commit(arguments['<trigraph>'], arguments['<PR_comment>'])
  File "/usr/local/bin/rudder-dev", line 1213, in commit
    user = ask_username(info['project_id'], trigraph)
  File "/usr/local/bin/rudder-dev", line 575, in ask_username
    user_ids = get_nrm_users(project_id)
  File "/usr/local/bin/rudder-dev", line 564, in get_nrm_users
    users = update_nrm_users(project_id)
  File "/usr/local/bin/rudder-dev", line 552, in update_nrm_users
    if user_detail['mail'].endswith("normation.com"):
KeyError: 'mail'
Actions #1

Updated by Raphael GAUTHIER almost 8 years ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions #2

Updated by Raphael GAUTHIER almost 8 years ago

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

Updated by Anonymous almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF