| Summary: | Exporting to docbook/XHMTL error | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Jessica <jess.jones.unitedkingdom> |
| Component: | exporter | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | okellogg |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | de636719fdfc7245f5498ae9717cf4462dfaa01d | Version Fixed/Implemented In: | 2.33.80 (KDE releases 22.03.80) |
| Sentry Crash Report: | |||
|
Description
Jessica
2022-02-05 17:03:54 UTC
Same error for exporting to XHTML I think it's caused by this image error: https://bugs.kde.org/show_bug.cgi?id=449347 *** Removed by KDE Sysadmin for violation of the KDE Community Code of Conduct *** Git commit 02e40615af66f5bffbc4766af0c674e67ce73a78 by Oliver Kellogg.
Committed on 26/02/2022 at 09:12.
Pushed by okellogg into branch 'master'.
Fix writing of output files on export to DocBook/XHTML:
umbrello/docgenerators/docbook2xhtmlgeneratorjob.cpp
- In function run(), after call to xsltSaveResultToFd() close the
tmpXhtml file.
umbrello/docgenerators/docbookgeneratorjob.cpp
- In function run(),
- after call to umlDoc->saveToXMI(file) close file;
- after call to xsltSaveResultToFd() close the tmpDocBook file.
umbrello/umlmodel/umlrole.cpp
- In function saveToXMI address error about redefined attribute reported
by xmlParseFile() called from {Docbook,Docbook2Xhtml}GeneratorJob :
Remove writing of attribute "visibility", it is already written by
UMLObject::save1().
umbrello/version.h
- Increment XMI1_FILE_VERSION to 1.7.6 and XMI2_FILE_VERSION to 2.0.3
due to changed generation of AssociationEnd attribute "visibility".
M +1 -0 umbrello/docgenerators/docbook2xhtmlgeneratorjob.cpp
M +3 -0 umbrello/docgenerators/docbookgeneratorjob.cpp
M +0 -2 umbrello/umlmodel/umlrole.cpp
M +2 -2 umbrello/version.h
https://invent.kde.org/sdk/umbrello/commit/02e40615af66f5bffbc4766af0c674e67ce73a78
Remaining problems were addressed by fixing bug 409411. |