Bug 439430 - XML Provider does not find payload url if email attribute is set in the author tag
Summary: XML Provider does not find payload url if email attribute is set in the autho...
Status: REPORTED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-03 08:40 UTC by Valentin Boettcher
Modified: 2021-07-05 13:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Boettcher 2021-07-03 08:40:31 UTC
SUMMARY
when the email attribute of the author tag is set, sometimes an entry is randomly uninstalled with the message `Entry: no payload URL given for:  "NGC IC (Steinicke)"  -  "NGC IC (Steinicke)"`

this is interesting because (according to the code) the second part after the dash should be the catalog id

removing the email from *both* entries does seem to make it work

working dso.xml: https://haste.tchncs.de/peyayobovu.xml
not working: https://haste.tchncs.de/icalovixug.xml

log: https://haste.tchncs.de/legovidilu.log
 1. Install openngc and steinicke 
 2. Close the dialog
 3. Uninstall steinicke
 4. Close the dialog
 5. -> both openngc and steinicke uninstalled



STEPS TO REPRODUCE
Set up similar to:
https://invent.kde.org/frameworks/knewstuff/-/issues/1

install/uninstall catalogs and open/close knewstuff a couple of times...

(rm -r ~/.local/share/kstars/ && rm -r ~/.local/share/knewstuff3/ && rm -r ~/.cache/kstars/ to clear the cache before trying)

OBSERVED RESULT
entries unintentionally uninstalled


EXPECTED RESULT
installation/removal as usual
Comment 1 Jasem Mutlaq 2021-07-03 08:50:15 UTC
I can confirm this bug as well.
Comment 2 Dan Leinir Turthra Jensen 2021-07-05 13:40:43 UTC
Could i get you to upload the knsregistry for each of these as well? (as you've identified, that's the kstars.knsregistry file in ~/.local/share/knewstuff3/) Looking at the code, it seems sane enough to me at least, but that just means i'm missing something, so... more info would be good to try and narrow it down a bit :)