incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Bondarenko" <jetm...@users.sf.net>
Subject [allura:tickets] #6704 Error if no file uploaded for allura ticket import
Date Tue, 22 Oct 2013 10:40:03 GMT
- **status**: in-progress --> code-review



---

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

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Sep 23, 2013 08:13 PM UTC by Dave Brondsema
**Last Updated:** Tue Oct 15, 2013 11:00 AM 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.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message