https://bugs.kde.org/show_bug.cgi?id=361622
Bug ID: 361622 Summary: Tellico ("Video Collection") crashes if there is a blank line in "Cast" Product: tellico Version: 2.3.9 Platform: Kubuntu Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: ro...@periapsis.org Reporter: ejr2...@mybtinternet.com Created attachment 98335 --> https://bugs.kde.org/attachment.cgi?id=98335&action=edit Example database used, 3 screen-shots and crash report Version: 2.3.9 4.14.15, Kubuntu packages OS: Linux (x86_64) release 4.2.0-35-generic Compiler: x86_64-linux-gnu-gcc Hi, As this is the first bug I am reporting for Tellico, please let me first say it's a great program - I use it to manage my video collection and I really like it. I find it really fast and really flexible (I've added more fields and developed, based on the example provided, my own IMDb interface plugin in Python to retrieve data from IMDb and populate those extra fields). Thank you for developing Tellico and making it available! I am using Tellico as retrieved from the Kubuntu packages (as per above), I haven't compiled my own version. The following bug should be easily reproducible. It happens to me me every single time. Whenever there is a blank line in the list of "Cast" (in the middle of the list, not at the end) for a Video Collection, the programme crashes upon saving the entry. Step 1 - Create an entry, create a list of "Cast" (see example attached) Step 2 - Delete the data for a line in the middle (not at the end) of the list of "Cast", to create a blank line; that's deleting the data without using Right Click > Remove Row (see screen-shot attached) Step 3 - Click on "Save Entry" - the programme crashes! (see screen-shot and "Developer information" attached) This happens to me when I want to re-order the rows on the "Cast" list - I would "Insert Row", then cut-and-paste data from a row into the new one, and sometimes I forget to "Remove Row" for the old (now empty) row. It is an issue as it may mean losing all the modifications made since the last "Save". I don't believe the program should crash, ever, even if the user does something wrong. Suggested fixes: 1 - Find a way to save the data as-is, so that when the user saves and re-opens the video entry, the data is as I saved it, i.e. with an empty row on the "Cast" list 2 - Ignore the empty row, so that when the user saves and re-opens the video entry, if there was, say, 1 row + 1 empty row + 1 row, there are only two rows left, with the empty row having disappeared altogether 3 - Don't save the entry, and display an error message, e.g. "Can't save at this time as there is an empty row on 'Cast' list" Personally, I would be very happy with solution 1 or 2 (indifferently) and would find solution 3 acceptable. -- You are receiving this mail because: You are watching all bug changes.