Opened 18 years ago
Closed 18 years ago
#6014 closed (fixed)
Decimal field raises UnicodeDecodeError if i18n characters are entered
| Reported by: | Maciej Wiśniowski | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | decimal unicode unicodedecodeerror | |
| Cc: | pigletto@… | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
If user enters something like "23 zł" into decimal field it fails with UnicodeDecodeError.
This is caused by a call to str(value). Patch is attached.
Attachments (2)
Change History (8)
by , 18 years ago
| Attachment: | decimal_v6709.patch added |
|---|
comment:1 by , 18 years ago
| Has patch: | set |
|---|
comment:2 by , 18 years ago
| Cc: | added |
|---|
comment:3 by , 18 years ago
| Needs tests: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
by , 18 years ago
| Attachment: | decimal_v6710.patch added |
|---|
comment:4 by , 18 years ago
| Needs tests: | unset |
|---|
comment:5 by , 18 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:6 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch with tests against revision 6710