Created attachment 126100 [details] test case STEPS TO REPRODUCE 1. start umbrello 2. open the appended test case 3. select file->export model->export model to xhtml OBSERVED RESULT The above error message is displayed and the export is aborted. EXPECTED RESULT The export should not fail if there is an empty class diagram SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Git commit 78c5b1ff737ff31fe6a4564e6d7b1fc3dfb8b8e2 by Ralf Habacker. Committed on 17/02/2020 at 11:40. Pushed by habacker into branch 'release/19.12'. Fixed error message 'Can't save an empty diagram' with Docbook and Xhtml export With an empty diagram, a small empty square is saved as an image instead. FIXED-IN:2.30.3 (KDE releases 19.12.3) M +11 -5 umbrello/umlviewimageexportermodel.cpp https://invent.kde.org/kde/umbrello/commit/78c5b1ff737ff31fe6a4564e6d7b1fc3dfb8b8e2