The below invalid ODF crashes Writer. There is a missing </text:note-citation> in the example. If you add that, it works fine.
<?xml version="1.0" encoding="UTF-8"?>
<text:p>This is a simple footnote<text:note text:note-class="footnote"><text:note-citation><text:label>1</text:label><text:note-body><text:p text:style-name="footnote">A footnote is a note in the footer</text:p></text:note-body></text:note> test.</text:p>
With LibO 3,5rc1 it opens as a plane-text file
It still fails for me with 3.5rc1:
[dag@moria asciidoc-odf]$ /opt/libreoffice3.5/program/swriter examples/crash.fodt
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
The fact that it opens as a text file probably is another bug of its own. as it seems to have failed to use the correct ODF filter.
@ Dag Wieers
Please, attach document as standalone file
Created attachment 56707 [details]
Sasha, instead of writing that comment, you could have done it yourself. It litteraly takes 15 seconds to paste it in a file and attach it...
reproduced in LibO 3.5.0 beta 2 on Fedora 64 bit
> instead of writing that comment, you could have done it yourself
I done it, but how to force office open it as odf document instead of text?
Created attachment 56708 [details]
backtrace of crash in 3.6.0 beta 2 on Fedora 64 bit
There is a problem with the official RPMs where the mime-types for Flat ODF files are missing from the installation. This has been reported more than a year ago, but still hasn't been addressed, even in the 3.5.0 RC3 release :-( Uncertain this will be fixed in 3.5.0, sigh...
I think I made the associations on my RHEL system manually so that it opens it correctly as Flat ODF. The official extension for Flat ODT is .fodt, for Flat ODS is .fods, etc...
Thanks for confirming !
The missing mime types are a separate problem, please create a separate bug for that, if it is not fixed yet.
This crash is fixed now in master, hopefully it will be cherry-picked to libreoffice-3-5 soon.
Thanks for fixing this. Will this be fixed in 3.4 and 3.5 as well ?
pushed to 3-4 as well now