- **QA**: Cory Johns


---

** [tickets:#6403] Tracker email notification setting breaks API ticket 
creation**

**Status:** code-review
**Created:** Tue Jun 25, 2013 07:13 PM UTC by Cory Johns
**Last Updated:** Wed Jun 26, 2013 03:54 PM UTC
**Owner:** Tim Van Steenburgh

    File '/var/local/allura/ForgeTracker/forgetracker/tracker_main.py', line 
1589 in new
      ticket.update(ticket_form)
    File '/var/local/allura/ForgeTracker/forgetracker/model/ticket.py', line 
838 in update
      self.commit()
    File '/var/local/allura/ForgeTracker/forgetracker/model/ticket.py', line 
775 in commit
      n.send_simple(monitoring_email)
    File '/var/local/allura/Allura/allura/model/notification.py', line 234 in 
send_simple
      text=(self.text or '') + self.footer(toaddr))
    File '/var/local/allura/Allura/allura/model/notification.py', line 224 in 
footer
      return self.ref.artifact.get_mail_footer(self, toaddr)
    AttributeError: 'NoneType' object has no attribute 'artifact'

New tickets via the web work fine, so it's something specific to the REST API 
that causes `ref` to be `None`.


---

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.

Reply via email to