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

RESOLVED FIXED in 2013-01-03

Status

Marketplace
Consumer Pages
P3
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: krupa, Assigned: ashort)

Tracking

2013-01-03
Points:
---

Details

(URL)

(Reporter)

Description

5 years ago
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
(Assignee)

Comment 1

4 years ago
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?
(Assignee)

Updated

4 years ago
Target Milestone: 2012-12-13 → 2012-12-20
(Assignee)

Updated

4 years ago
Target Milestone: 2012-12-20 → 2013-01-03
(Assignee)

Comment 3

4 years ago
https://github.com/mozilla/zamboni/commit/77925ba870d80c5f308a88329bea35589654f152
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.