Opened 8 years ago

Closed 8 years ago

#3309 closed defect (duplicate)

prepopulate_from JS helper script passes some non latin-1/ascii chars

Reported by: anonymous Owned by: adrian
Component: contrib.admin Version: master
Severity: minor Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The prepopulate_from JavaScript passes some Polish special chars: ź ń ł to the slug (it doesn't pass others like ą ś).

Change History (7)

comment:1 Changed 8 years ago by mir@…

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, but I really can't figure out what you mean.

Can you please explain in details and reopen? A good way to explain a bug is to describe:

  • what you did and how to reconstruct the problem
  • what the actual and expected results are
  • and how they differ?

comment:2 Changed 8 years ago by riklaunim@…

http://www.fotosik.pl/showFullSize.php?id=eb8d36c721059258 - the łźń in the Slug field should not be passed from Title. All Polish special chars should be stripped or changed to ascii base letters like ą -> a, ź -> z, ł -> l, ć -> c and so on.

comment:3 Changed 8 years ago by mir@…

  • Triage Stage changed from Unreviewed to Accepted

Thanks, now I see. I wasn't so familar with the admin functionality, sorry. There's clearly an inconsistency between the JavaScript script and django.template.defaultfilters.urlify().

I keep this on my watchlist and will reopen it as soon as Jacob has revived the reopen button.

comment:4 Changed 8 years ago by Michael Radziej <mir@…>

  • Keywords reopen added

comment:5 Changed 8 years ago by adrian

  • Keywords reopen removed
  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:6 Changed 8 years ago by Petar Marić <petar.maric@…>

This ticket is related to #2282 and #1602

comment:7 Changed 8 years ago by Michael Radziej <mir@…>

  • Resolution set to duplicate
  • Status changed from reopened to closed

This is the same problem as #2282, only that #2282 discusses other possible solutions. #2282 has more comments and has been discussed more, so I close this ticket as duplicate.

Note: See TracTickets for help on using tickets.
Back to Top