Fix updating of entry if version number is empty
The status was set to installed and then the values were not updated.
BUG: 417510 FIXED-IN: 5.75
I had debugged this with the following entry:
<stuff category="132">
<name>Numix</name>
<providerid>https://api.kde-look.org/ocs/v1/</providerid>
<author>westofer</author>
<homepage>https://store.kde.org/p/1417534</homepage>
<licence></licence>
<version></version>
<rating>50</rating>
<downloads>1566</downloads>
<installedfile>/home/user/.local/share/icons/Numix/*</installedfile>
<id>1417534</id>
<releasedate>2020-08-01</releasedate>
<summary>Based on numix circle.</summary>
<changelog></changelog>
<preview>https://cn.opendesktop.org/cache/100x100-0/img/9/3/5/b/1ea4b9dccd9f699b68833dee21feda89b3dae2318f0af9da5e2e4c5c24312c181a32.png</preview>
<previewBig>https://cn.opendesktop.org/cache/770x540-0/img/9/3/5/b/1ea4b9dccd9f699b68833dee21feda89b3dae2318f0af9da5e2e4c5c24312c181a32.png</previewBig>
<payload>https://dllb2.pling.com/api/files/download/j/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjE1OTg5NTY1NjkiLCJvIjoiMSIsInMiOiI3NmViYWNiZGJjZWZmYTEzMmMwYjNjODgzY2EyMWI0MWQ0NjU4MDIxNDcxMjZiYTNjYjhlZTE3ZjVhOThmY2MyZmEyODZjODM1MzUxOTUzMzA1MGJlNjU4NzdjNzdkNGYwNGQ5ZjBmZjNlMWIyMGRjMzVhMzQ3OGNmNjQ5N2QyYSIsInQiOjE2MDAxNzY0NzUsInN0ZnAiOm51bGwsInN0aXAiOiIxOTYuMjQwLjU3LjExNiJ9.lMsBrgsmCwIBFrf1Ap5HgbtTVzpNNPjZzs4Tg1WN43g/Numix.tar.gz</payload>
<tags>original-product,linux,icon-theme,unix</tags>
<status>installed</status>
</stuff>
Which also has the case that no version number is set.
Edited by Alexander Lohnau