Summary: | Kexi crash in Table Designer when changing data type | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Marcos Perez <chuloyo> |
Component: | Tables | Assignee: | Kexi Bugs <kexi-bugs> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | pastor.r.gomez, staniek |
Priority: | NOR | ||
Version: | 2.8.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot that descript fail
New crash information added by DrKonqi |
Description
Marcos Perez
2014-05-10 15:52:34 UTC
Created attachment 86562 [details]
Screenshot that descript fail
Autotranslation to English: Information about the crash: I had an instance of Kexi activated with two open tables. One of them contained a reference to database table, and was changing the field type "integer" to "text". When I selected text, the crash was immediate. Custom settings of the application: The database I was working with is an external connection to localhost MySQL. Default Calligra and Kexi, unchanged. Possible workaround: close the other Table Designer's view before performing such changes. I think this bug may be independent of the database type that is used. Is possible, but I don't test it. I confirm that issue repeats sometimes, but not ever. I can do the work by other way without crash, that is delete "parent table field" (in the right of screen, in the attached screenshot). I delete the three fields and then I change the field type in design area and all works well. I think in a possible solution, that warns to user for delete this fields before continue when the field type is changing. Thank you for your time and attention. Greetings Great, changes the summary to make it easier to find. I think the fix will be possible without adding an extra warning to the user. Ok, all yours! I go to sleep, thank you :D Created attachment 90942 [details]
New crash information added by DrKonqi
kexi (2.8.2) on KDE Platform 4.14.2 using Qt 4.8.2
- What I was doing when the application crashed: I had two linked tables open at the same time. I changed some data from the source table, and when I tried to save the new data, the application crashed.
-- Backtrace (Reduced):
#7 0xb62769ff in KexiDB::TableViewColumn::isReadOnly (this=0x904e220) at /build/buildd/calligra-2.8.2/libs/db/tableviewcolumn.cpp:239
#8 0xafcdf687 in KexiComboBoxTableEdit::eventFilter (this=0x8f9e008, o=0x8f1b7d8, e=0xbfe76c34) at /build/buildd/calligra-2.8.2/kexi/widget/tableview/kexicomboboxtableedit.cpp:365
#9 0xb66d1fa6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x82e62c0, receiver=0x8f1b7d8, event=0xbfe76c34) at kernel/qcoreapplication.cpp:1025
#10 0xb6c43dc2 in notify_helper (e=0xbfe76c34, receiver=0x8f1b7d8, this=0x82e62c0) at kernel/qapplication.cpp:4552
#11 QApplicationPrivate::notify_helper (this=0x82e62c0, receiver=0x8f1b7d8, e=0xbfe76c34) at kernel/qapplication.cpp:4528
99% of chances that it's fixed in todays 3.1.0 Alpha (git) or even before. When you have chance to test the new version feel free to reopen this report if needed or report other bugs. Thanks. |