Ask Your Question
1

What is this "dummy" tag and how to remove it?

asked 2013-05-02 20:21:13 -0600

pol0nium gravatar image

updated 2013-05-03 22:24:19 -0600

Evgeny gravatar image

Hello,

I would like to remove the "dummy" tag category. Is it possible and how?

Screenshot can be found here : http://upl.lt/images/00801270107854910730.png

Thank you in advance.

edit retag flag offensive close merge delete

Comments

Thanks for posting this - do you have it on a new install or migrated from a previous version? Could you tell what you did to install askbot?

Evgeny gravatar imageEvgeny ( 2013-05-02 20:23:08 -0600 )edit

This is a new install. I cloned the repository and followed the documentation for the installation.

pol0nium gravatar imagepol0nium ( 2013-05-02 20:23:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-05-03 22:24:07 -0600

Evgeny gravatar image

Please try the updated code from the repository, I hope I've fixed this issue.

edit flag offensive delete link more

Comments

I'll try this in a minute :)

pol0nium gravatar imagepol0nium ( 2013-05-03 22:29:41 -0600 )edit

The updated code is not working. I also tried to add old_data = old_data.replace("[[\"dummy\",[]]]", "") in the forwards method into save_category_as_json.py but it's not working too.

pol0nium gravatar imagepol0nium ( 2013-05-03 23:17:01 -0600 )edit

It did work for me on a new install. Well here are two options for you: 1) - try deleting that tag via the category editor interface. 2) log in to python shell with "python manage.py shell" and then type:

from askbot.conf import settings
settings.CATEGORY_TREE

What do you see there?

Evgeny gravatar imageEvgeny ( 2013-05-04 00:33:01 -0600 )edit

Solution 1) worked just fine (why didn't I think about it?)

pol0nium gravatar imagepol0nium ( 2013-05-04 00:38:43 -0600 )edit
1

Great, I've made tag delete work without the validation of the tag name. Before the deletion was blocked because this "tag" had all sorts of forbidden characters.

Evgeny gravatar imageEvgeny ( 2013-05-04 00:40:22 -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

Stats

Asked: 2013-05-02 20:21:13 -0600

Seen: 192 times

Last updated: May 03 '13