#6704 Error if no file uploaded for allura ticket import

v1.1.0
closed
nobody
42cc (433)
General
Cory Johns
2015-08-20
2013-09-23
No

The allura ticket import form doesn't require that a file be uploaded and then the task fails with:

Traceback (most recent call last):
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", line 258, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/forge/tracker.py", line 63, in import_tool
    importer.import_tool(c.project, c.user, **kw)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/forge/tracker.py", line 123, in import_tool
    tracker_json['tracker_config']['options'].pop('ordinal', None)
TypeError: 'NoneType' object has no attribute '__getitem__'

Related

Tickets: #6704

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-10-04
    • Milestone: forge-oct-18 --> forge-nov-01
     
  • Dave Brondsema

    Dave Brondsema - 2013-10-14
    • labels: --> 42cc
     
  • Igor Bondarenko

    Igor Bondarenko - 2013-10-15
    • status: open --> in-progress
     
  • Igor Bondarenko

    Igor Bondarenko - 2013-10-15

    Created #454: [#6704] Error if no file uploaded for allura ticket import (1cp)

     

    Related

    Tickets: #6704

  • Igor Bondarenko

    Igor Bondarenko - 2013-10-22
    • status: in-progress --> code-review
     
  • Igor Bondarenko

    Igor Bondarenko - 2013-10-22

    Closed #454. je/42cc_6704

     
  • Cory Johns

    Cory Johns - 2013-10-24
    • QA: Cory Johns
     
  • Cory Johns

    Cory Johns - 2013-10-24
    • status: code-review --> closed
     

Log in to post a comment.