Project

General

Profile

Actions

Defect #21531

closed

rdm-mailhandler with project-from-subaddress fails

Added by Daniel Feliciano Branco almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Running "ruby extra/mail_handler/rdm-mailhandler.rb -k xxxx -u http://localhost:3000/" waits for stdin input, running "ruby extra/mail_handler/rdm-mailhandler.rb -k xxxx -u http://localhost:3000/ --project-from-subaddress " fails with:

extra/mail_handler/rdm-mailhandler.rb:90:in `block (2 levels) in initialize': undefined method `[]=' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/1.9.1/optparse.rb:1360:in `call'
    from /usr/lib/ruby/1.9.1/optparse.rb:1360:in `block in parse_in_order'
    from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
    from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
    from /usr/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
    from /usr/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
    from /usr/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
    from extra/mail_handler/rdm-mailhandler.rb:140:in `initialize'
    from extra/mail_handler/rdm-mailhandler.rb:211:in `new'
    from extra/mail_handler/rdm-mailhandler.rb:211:in `<main>'
Environment:
  Redmine version                3.2.0.stable
  Ruby version                   1.9.3-p551 (2014-11-13) [i686-linux]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Subversion                     1.6.17
  Git                            1.7.9.5
  Filesystem                     
Redmine plugins:
  periodictask                   3.1.1
  recurring_tasks                2.0.0-pre
  redmine_close_button           0.0.8
  redmine_contacts               4.0.4
  redmine_finance                2.0.1
  redmine_helpdesk               0.0.15
  redmine_ics_export             3.0.1.dev
  redmine_issue_override         0.0.1
  redmine_issue_templates        0.1.1
  redmine_startpage              0.1.0
  redmine_tweaks                 0.5.5
  redmine_wiki_extensions        0.7.0
  sidebar_hide                   0.0.7
Actions #1

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.2.1
  • Resolution set to Fixed

Fixed in r14986.

Actions #2

Updated by Daniel Feliciano Branco almost 9 years ago

Thank you for the fix and the feature. It's working fine now.
Daniel

Actions #3

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF