First time here? Check out the FAQ!
1

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

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.

pol0nium's avatar
1
pol0nium
asked 2013-05-02 20:21:13 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2013-05-03 22:24:19 -0600
edit flag offensive 0 remove flag 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's avatar Evgeny (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's avatar pol0nium (2013-05-02 20:23:33 -0600) edit
add a comment see more comments

1 Answer

1

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

Evgeny's avatar
13.2k
Evgeny
answered 2013-05-03 22:24:07 -0600
edit flag offensive 0 remove flag delete link

Comments

I'll try this in a minute :)

pol0nium's avatar pol0nium (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's avatar pol0nium (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's avatar Evgeny (2013-05-04 00:33:01 -0600) edit

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

pol0nium's avatar pol0nium (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's avatar Evgeny (2013-05-04 00:40:22 -0600) edit
add a comment see more comments