Properties View bug when renaming with a different case

Hi, I have been trying to use the Properties View Core Plugin because it’s supposed to help me manage my properties across all notes and refactor/rename them. I have lot of notes with properties that starts with uppercase and now want to change them to all lowercase. I am right-clicking on a property in the right panel named “All properties” and rename a property with all lowercase character. It looks like it works because the value is updated in the list. Also, when I click on it, I see all results in the Search panel, which show all notes with the lowercase value but in the search field, it’s searching with the uppercase value. Some times after, it revert back to uppercase version in the “All properties” panel, even notes are still fine. I have bases that shows the ‘old’ version with an uppercase letter, it this what causing problem ?

Try renaming the property to something else. Then rename it back but with the case you want.

So say the property is called “PMC”. Rename it to, say, “pmc_temp”. Then rename it to “pmc”.

Tried that, didn’t work. Turns out the “old” value was in types.json, once I renamed it in that file, it was working again. So the problem is not with bases or any plugin I guess.

1 Like

Glad you found it.

The types.json sticky cases has been an issue for a while, and Bases has nothing to do with dictating property keys; you can even type arbitrary, non-existant properties in a base.

1 Like

you didn’t follow the bug report template and I was unable to reproduce what you described either

Me neither, I think the bug was caused by a manual mass renaming (using Python) before I discovered the “Properties View” plugin. Now that I use the plugin, everything is fine.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.