Summary: | Dosnt Open/Delete class Diagram element | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Hamid Sahraiee <Sahraiee> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | REPORTED --- | ||
Severity: | major | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.30.0 (KDE Applications 19.12.0) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | _ClassDiagram_UI is a class diagram in the SahraCore/UI folder. it doesn't open or delete. |
Comment on attachment 124964 [details]
_ClassDiagram_UI is a class diagram in the SahraCore/UI folder. it doesn't open or delete.
The appended xmi file is somehow corrupted. It contains one class diagram named 'class diagram':
<diagram showopsig="1" linecolor="#ff0000" snapx="25" showattribassocs="1" snapy="25" linewidth="0" showattsig="1" textcolor="#000000" isopen="1" showpackage="1" showpubliconly="0" showstereotype="1" name="class diagram" font="Sans Serif,10,-1,0,50,0,0,0,0,0" canvasheight="0" canvaswidth="0" localid="-1" snapcsgrid="0" showgrid="0" showops="1" griddotcolor="#f6f6f6" backgroundcolor="#bdbdbd" usefillcolor="1" fillcolor="#ffffc0" zoom="100" xmi.id="uwbRU2dwxj3QB" documentation="" showscope="1" snapgrid="0" showatts="1" type="1"><widgets/><messages/><associations/></diagram>
which is referenced later in the section for the tree view
<listview>
...
<listitem open="0" type="807" id="uwbRU2dwxj3QB" label="class diagram"/>
a few line below there is also the class diagram you are missing:
<listitem open="0" type="807" id="ucJia8aOVztKv" label="_ClassDiagram_UI"/>
but there is no related <diagram> tag in the file.
I suggest to open the xmi file in an editor, remove the mentioned line, save the file, load it with umbrello and recreate the diagram _ClassDiagram_UI.
If you can give some information how to reproduce this issue, it would be possible to fix this isssue inside the umbrello source code.
Thanks a lot. by removing that line, my problem fixed. I work on this project for more than two months, therefore I don't remember what I do that cause this corruption. Is there any tool to check the Umbrello file [xmi] and find the failure issues? Is there a log file in the Windows platform that can be accessible after the crash? I think there is more issue in my project file. when I try to Generate C# code on some codes (Not all), the Application will be crashed.or inheritance will not be applied in the generated C# codes. I started the project with Umbrello V 2.29 and then upgraded the Umbrello to V 2.30.0 and continued the development. |
Created attachment 124964 [details] _ClassDiagram_UI is a class diagram in the SahraCore/UI folder. it doesn't open or delete. SUMMARY Hi, I'm work on my own Game project. it's a little big project. so I create /rename/ delete so many elements in the Umbrello. when I want to load a class diagram, it doesn't open(neither deleted ) STEPS TO REPRODUCE I attach my project file (unnecessary elements are removed) OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: win 10 64bit/ 1903 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION