#7874 UnicodeEncodeError on ticket attachment diff

v1.3.0
closed
sf-1 (616)
General
2015-08-20
2015-04-22
No
File '/var/local/allura/ForgeTracker/forgetracker/tracker_main.py', line 1391 in update_ticket_from_widget
  self._update_ticket(data)
File '/var/local/allura/ForgeTracker/forgetracker/tracker_main.py', line 1455 in _update_ticket
  changes['attachments'] = attachments_info(self.ticket.attachments)
File '/var/local/allura/ForgeTracker/forgetracker/tracker_main.py', line 157 in attachments_info
  attach.content_type))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 2-3: ordinal not in range(128)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-04-22

    Also deleting an attachment with a unicode name doesn't work, same root cause. So single fix should make both work, but please test to confirm.

     
  • Heith Seewald

    Heith Seewald - 2015-04-22
    • assigned_to: Heith Seewald
     
  • Heith Seewald

    Heith Seewald - 2015-04-23
    • status: open --> review
     
  • Heith Seewald

    Heith Seewald - 2015-04-23

    fixed on: hs/7874

     
  • Dave Brondsema

    Dave Brondsema - 2015-04-23
    • labels: sf-current --> sf-current, sf-1
    • status: review --> closed
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2015-04-30
    • labels: sf-current, sf-1 --> sf-1
     
  • Igor Bondarenko

    Igor Bondarenko - 2015-06-18
    • Milestone: unreleased --> asf_release_1.3.0
     

Log in to post a comment.