[Koha-bugs] [Bug 6473] Test bug for Git-bz

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 20 14:51:10 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6473

--- Comment #207 from Victor Grousset/tuxayo <victor.grousset at biblibre.com> ---
(In reply to Liz Rea from comment #0)
> Use this bug when testing your git-bz. :)
> 
> DO YOUR WORST!!
> 
> (yes, that's a challenge)

^_^

With an old git-bz version (or wrong branch), the above should cause an issue
when attaching to this bug:

Traceback (most recent call last):
  File "/usr/local/bin/git-bz", line 2632, in <module>
    do_attach(*args)
  File "/usr/local/bin/git-bz", line 1998, in do_attach
    attach_commits(bug, commits, edit_comments=global_options.edit)
  File "/usr/local/bin/git-bz", line 1913, in attach_commits
    description, body, obsoletes, statuses, patch_complexities, depends =
edit_attachment_comment(bug, commit.subject, body)
  File "/usr/local/bin/git-bz", line 1866, in edit_attachment_comment
    lines = edit_template(template.getvalue())
  File "/usr/local/bin/git-bz", line 811, in edit_template
    f.write(template)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in position
600: ordinal not in range(128)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list