usnistgov / nestor-tmp2

Quantifying tacit knowledge for investigatory analysis
Other
9 stars 5 forks source link

Bugs with Replace Special Words #61

Open sarahlukens opened 5 years ago

sarahlukens commented 5 years ago

There's several bugginesses with "replace special words".

  1. When you add a special word and save, can lose a lot of tagging work
  2. When I open or create a new project, the special words from the previous project are still loaded.

I'll keep the list going, and refine when I start finding patterns in reproducing

rtbs-dev commented 5 years ago

Interesting. In theory, only the coloring of the tagging work should disappear (inputting special-replace refreshes the interface in a similar way to saving and reloading your session). Can you verify that actual tags/types are getting deleted upon replacing?

sarahlukens commented 5 years ago

I figured it out! It could be a bug, it could be user error, depending on your perspective. What happens is that when you click "save" on the replace words, it only saves your word replacements but nothing else, and reverts everything back to the last time you saved. So you need to remember to save your project before doing any word replacements. The bug perspective is that in general as a user, you think if you click "save" it means save everything up to when I clicked save.

The bug about replacement rules showing up for different projects I'll get back to you on steps to reproduce. There's something weird there too.