Summary: | Crash on exporting report to a spreadsheet/text doc in a non-writable dir | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Jarosław Staniek <staniek> |
Component: | Reports and Printouts | Assignee: | Adam Pigg <adam> |
Status: | CLOSED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | http://commits.kde.org/calligra/8cef87fde082f4b5e3105a834911bdb1d8037dff | Version Fixed In: | |
Sentry Crash Report: |
Description
Jarosław Staniek
2014-03-18 22:58:45 UTC
The same issue when exporting to a ODT text document. Git commit 74ee314a15a047e63d06deee497cf713491b383f by Jaroslaw Staniek. Committed on 19/03/2014 at 15:25. Pushed by staniek into branch 'master'. Fix crash on exporting report to a spreadsheet/text doc in a non-writable dir REVIEW:116904 Depends on https://git.reviewboard.kde.org/r/116893/ M +33 -27 libs/koreport/renderer/ods/KoSimpleOdsDocument.cpp http://commits.kde.org/calligra/74ee314a15a047e63d06deee497cf713491b383f Git commit 0b29857b0459ff9c1653a7397de8a7bf51c7c97f by Jaroslaw Staniek. Committed on 19/03/2014 at 10:23. Pushed by staniek into branch 'master'. On closing the content writer do not expect it to be allocated This fixes assertion in KoSimpleOdsDocument::createContent() where content stays unallocated if the filepath points to a nonwritable directory. Manifest and body are both allocated so I left the relevant assertions and conditions intact. REVIEW:116893 M +9 -5 libs/odf/KoOdfWriteStore.cpp http://commits.kde.org/calligra/0b29857b0459ff9c1653a7397de8a7bf51c7c97f Git commit 8cef87fde082f4b5e3105a834911bdb1d8037dff by Jaroslaw Staniek. Committed on 19/03/2014 at 15:25. Pushed by staniek into branch 'calligra/2.8'. Fix crash on exporting report to a spreadsheet/text doc in a non-writable dir REVIEW:116904 Depends on https://git.reviewboard.kde.org/r/116893/ M +33 -27 libs/koreport/renderer/ods/KoSimpleOdsDocument.cpp http://commits.kde.org/calligra/8cef87fde082f4b5e3105a834911bdb1d8037dff Git commit 6c53d6fc56bde869071382c143eb278e4d1380ee by Jaroslaw Staniek. Committed on 19/03/2014 at 10:23. Pushed by staniek into branch 'calligra/2.8'. On closing the content writer do not expect it to be allocated This fixes assertion in KoSimpleOdsDocument::createContent() where content stays unallocated if the filepath points to a nonwritable directory. Manifest and body are both allocated so I left the relevant assertions and conditions intact. REVIEW:116893 M +9 -5 libs/odf/KoOdfWriteStore.cpp http://commits.kde.org/calligra/6c53d6fc56bde869071382c143eb278e4d1380ee |