Comment 1 for bug 371723

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 371723] [NEW] make_name produces a blank name if the title is all special characters

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:
>
> 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://bugs.launchpad.net/bugs/371723
> 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:
> ΆЂⁿ₤№⅞↓∆⌂█