[Marble-bugs] [marble] [Bug 319542] marble.knsregistry grows exponentially when it contains invalid XML characters

Dennis Nienhüser earthwings at gentoo.org
Fri May 10 15:41:22 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=319542

Dennis Nienhüser <earthwings at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |earthwings at gentoo.org
     Ever confirmed|0                           |1

--- Comment #1 from Dennis Nienhüser <earthwings at gentoo.org> ---
I can reproduce that knewstuff3 from kdelibs writes broken registry files. Our
provider files seem properly UTF-8 encoded to me. Xmllint is happy as well.
Therefore I'd rather blame knewstuff3.

The reason that the summary field is displayed correctly should be that it
displays the downloaded information only, not the information from the
registry.

The patch in https://git.reviewboard.kde.org/r/110226/ writes correctly encoded
registry files even if opening a broken one (if it is able to download the
information from the remote provider file). It does only update them on changes
though (installing, removing or upgrading some theme). We could change that to
always write a new registry file after closing the dialog. Another approach to
fix broken registry files would be to make the rewrite part of the migration,
but that would mean that the file is only fixed if a) we have Internet access
when it is called and b) we wait for the download to finish.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list