WebApp Error: <type 'exceptions.attributeerror'="">: 'Ticket' object has no attribute 'attach'</type>
results in a 500, fraction of the stack trace:
>> output = controller(*remainder, **dict(params))
Module forgetracker.tracker_main:374 in save_ticket
<< custom_fields=dict(),
ticket_num=c.app.globals.next_ticket_num())
ticket.update(ticket_form)
for u in M.ProjectRole.query.find({'name':'Admin'}).first().users_with_role():
ticket.subscribe(user=u)
>> ticket.update(ticket_form)
Module forgetracker.model.ticket:374 in update
<< if attachments:
for attachment in attachments:
self.attach(file_info=attachment)
for k, v in ticket_form.iteritems():
if 'custom_fields.' in k:
>> self.attach(file_info=attachment)
AttributeError: 'Ticket' object has no attribute 'attach'
description has changed
We just need to verify that it's fixed on new tracker.
Confirmed this is fixed on a sandbox