Run this macro (document is attached). Sub insertDoc Dim oUrl as String Dim oPropertyValue(0) as New com.sun.star.beans.PropertyValue oUrl = "file:///path/to/kurzmitteilung.ott" ThisComponent.Text.createTextCursor().insertDocumentFromURL(oURL, oPropertyValue()) End Sub -> LO crashes
Created attachment 182863 [details] Backtrace
Created attachment 182865 [details] Bugdoc
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ac8717e861608031e50230015c90e64282a10ad0 tdf#151375 sw: ODF import: delete any layout frames before ... It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master was another problem from commit e366c928819c44b5c253c45dca6dae40b71c9808
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/dd93379cdfce856b73d767b9808f8a87f8c8ac29 tdf#151375 sw: ODF import: delete any layout frames before ... It will be available in 7.4.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/06f990a50d211564b89420af184edcf6145c0ce8 tdf#151375: sw_odfimport: Add unittest It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.