incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <masterbunn...@users.sf.net>
Subject [allura:tickets] #6403 Tracker email notification setting breaks API ticket creation
Date Tue, 25 Jun 2013 19:13:15 GMT



---

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

**Status:** open
**Created:** Tue Jun 25, 2013 07:13 PM UTC by Cory Johns
**Last Updated:** Tue Jun 25, 2013 07:13 PM UTC
**Owner:** nobody

    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.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message