make_name produces a blank name if the title is all special characters
Bug #371723 reported by
Jason Lantz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Medium
|
Shane Hathaway |
Bug Description
Since make_name strips all special characters out of the input string before building a name, entering a title for content that uses make_name (tested with an Event in a community calendar, but should be reproducible elsewhere too) causes the following exception:
TypeError: Name must not be empty
The string I used to create the problem is:
ΆЂⁿ₤№⅞↓∆⌂█
Changed in karl3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What should it do?
I guess the best thing is to generate a form validation error so we
don't provide the General KARL Error message?
--Paul
On May 4, 2009, at 11:42 AM, Jason Lantz wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 371723
>
> Since make_name strips all special characters out of the input string
> before building a name, entering a title for content that uses
> make_name
> (tested with an Event in a community calendar, but should be
> reproducible elsewhere too) causes the following exception:
>
> TypeError: Name must not be empty
>
> The string I used to create the problem is:
> ΆЂⁿ₤№⅞↓∆⌂█
>
> ** Affects: karl3
> Importance: Undecided
> Status: New
>
> --
> make_name produces a blank name if the title is all special characters
> https:/
> You received this bug notification because you are subscribed to
> KARL3.
>
> Status in Porting KARL to a new architecture: New
>
> Bug description:
> Since make_name strips all special characters out of the input
> string before building a name, entering a title for content that
> uses make_name (tested with an Event in a community calendar, but
> should be reproducible elsewhere too) causes the following exception:
>
> TypeError: Name must not be empty
>
> The string I used to create the problem is:
> ΆЂⁿ₤№⅞↓∆⌂█