https://bugs.kde.org/show_bug.cgi?id=477533
Bug ID: 477533
Summary: Error while reading database file when Category name
starts with numbers
Classification: Applications
Product: kphotoalbum
Version: GIT master
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Backend
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Error while reading database file when Category name starts with numbers
Error while reading database file
An error was encountered on line 83, column 184:Error reading next element
Additional error information:Expected '>' or '/', but got '[0-9]'.
Database path: ‘/tmp/kphotoalbum-demo-victor/index.xml’
STEPS TO REPRODUCE
1. Open KPhotoAlbum (kphotoalbum --demo)
2. From the main menu go to Settings > Configure KPhotoAlbum... > Categories
3. (Save the DB now if needed) and Add a new category that starts with one or
more digit in [0-9] (for example 2Review)
4. Click OK to close the Settings window and save the category
5. Go to the Annotations window of any image or video and create and assign a
new tag for category 2Review
6. Save the database
8. Close KPhotoAlbum (if in demo remember to NOT delete the database)
9. Reopen KPhotoAlbum (kphotoalbum --demo)
10. Error while reading database file
Here new category has been created but same error occurs if existing categories
(such as Places) are renamed to start with a number
OBSERVED RESULT
Error while reading database file
EXPECTED RESULT
Depends on the design; either not allow categories starting with digits or
write correctly to the xml or read correctly from the xml... etc.
SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
KPhotoAlbum v5.11 and
KPhotoAlbum development version latest git master v5.12.0
--
You are receiving this mail because:
You are watching all bug changes.