You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/10/14 15:59:38 UTC

[allura:tickets] #6704 Error if no file uploaded for allura ticket import

- **labels**:  --> 42cc



---

** [tickets:#6704] Error if no file uploaded for allura ticket import**

**Status:** open
**Labels:** 42cc 
**Created:** Mon Sep 23, 2013 08:13 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 04, 2013 07:38 PM UTC
**Owner:** nobody

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__'
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.