Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6704 Error if no file uploaded for allura ticket import

forge-nov-01
closed
nobody
42cc (358)
General
None
2013-10-24
2013-09-23
Dave Brondsema
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


Anonymous


Cancel   Add attachments