Hypertopic / LaSuli

Social annotation for qualitative analysis
https://hypertopic.org/lasuli
GNU General Public License v3.0
12 stars 4 forks source link

First topic of an item mistakenly used as a name #35

Closed benel closed 5 years ago

benel commented 8 years ago

For no apparent reasons, when a new item is tagged with a topic, the topic name is also used as the name of the item.

While it could appear to be a good idea, it's not: a name is usually chosen to be distinctive whereas a topic is supposed to be reused for other items.

Slals commented 8 years ago

It appears that this is done only when the item is tagged for the very first time. I tried this :

Following this procedure the item won't be renamed by the tag name. I think it could be a useful information. I'm working on it.

Slals commented 8 years ago

When we tag an item, the program verifies if the item exists, if not, it creates the item with the tag name!

You can find the line of code here.

To stop this undesired effect, putting an empty parameter when calling createItem will keep the item name to default.

Shall I push the solution?

benel commented 5 years ago

Fixed in v3.