Ask Your Question

Bug: title disappears if your tag is rejected. [patch]

asked 2012-01-27 14:25:01 -0600

brycenesbitt's avatar

updated 2012-05-01 10:23:14 -0600

Evgeny's avatar

Bug: title disappears if your tag is rejected.

If one of your tags fails the "use-these-chars-in-tags" check, the title of your question gets erased.

1) Ask question
2) Write a title
3) Put "&" or "%" in a tag name
4) Submit, observe error    "use-these-chars-in-tags".
5) Observe    title is now blank

(I used preformatted text, because on Chrome, number and bullet lists are broken)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-02-29 01:59:22 -0600

brycenesbitt's avatar

Solution patch: in add the following in the case of 'form not valid':

    form.initial['title']= request.POST.get('title')
edit flag offensive delete link more


thanks, I've fixed this in the repository, will make a new release this week.

Evgeny's avatar Evgeny  ( 2012-03-05 20:12:54 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-01-27 14:25:01 -0600

Seen: 262 times

Last updated: Feb 29 '12