Closed Bug 813730 Opened 12 years ago Closed 12 years ago

[traceback] UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 2: ordinal not in range(128)

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-01-03

People

(Reporter: krupa.mozbugs, Assigned: ashort)

References

()

Details

steps to reproduce:
1. Load https://marketplace.firefox.com/app/di%C3%A1rio-catarinense/reviews/add
2. Add a review.

observed behavior:
The POST after submitting the review form fails with a 500

traceback details:
Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "mkt/fragments/decorators.py", line 51, in wrapper
    utils.bust_fragments(response, url_prefix, *args, **kwargs)
  File "mkt/fragments/utils.py", line 32, in bust_fragments
    prefix = map(reformat_prefix, prefix)
  File "mkt/fragments/utils.py", line 28, in reformat_prefix
    return prefix.format(*args, **kwargs)

sentry: http://sentry.dmz.phx1.mozilla.com/marketplace/group/3216/
Assignee: nobody → ashort
Priority: -- → P3
Target Milestone: --- → 2012-12-13
We seem to have more than one place that app slugs are assumed to be ASCII. Do we want to commit to supporting full unicode in slugs, or should we update the db to fix these outliers?
Flags: needinfo?
When kumar and I talked about this previously, we wanted to go with ascii. Esp since app_slug is used to generate filenames.
Flags: needinfo?
Target Milestone: 2012-12-13 → 2012-12-20
Target Milestone: 2012-12-20 → 2013-01-03
https://github.com/mozilla/zamboni/commit/77925ba870d80c5f308a88329bea35589654f152
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.