Summary: | Namespace mismatch of types import from java import between object and tree view | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | importer | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | simonandric5 |
Priority: | NOR | ||
Version: | 2.23.2 (KDE Applications 17.08.2) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | https://commits.kde.org/umbrello/0053b09126f6cd5057e3cfe8573efd1a184ff675 | Version Fixed In: | 2.23.80 (KDE Applications 17.11.80) |
Bug Depends on: | |||
Bug Blocks: | 386479 |
Description
Ralf Habacker
2017-11-09 22:54:54 UTC
Git commit 0053b09126f6cd5057e3cfe8573efd1a184ff675 by Ralf Habacker. Committed on 11/11/2017 at 16:47. Pushed by habacker into branch 'master'. Fix 'Namespace mismatch of types imported from java import between object and tree view' Unknown types imported from java files are assigned initial to the global namespace. If the related type is found later, the namespace will be updated. This update was not propagated to the tree view. To propagate the update to the tree view it is required to enable the UMLObject::modified() signal temporary on changing the package parent. The signal emitting has been moved down in code to be sure that all other changes are applied. FIXED-IN:2.23.80 (KDE Applications 17.11.80) M +5 -2 umbrello/codeimport/import_utils.cpp M +10 -0 umbrello/umllistviewitem.cpp https://commits.kde.org/umbrello/0053b09126f6cd5057e3cfe8573efd1a184ff675 Git commit f378d78aff1bf558d076140fc5544afda781a6fc by Ralf Habacker. Committed on 12/11/2017 at 21:00. Pushed by habacker into branch 'master'. Fixup of 0053b0912 Found a better way to update tree view without patching global document loading state, which may have unwanted side effects. This approach has been already used in this method. M +6 -3 umbrello/codeimport/import_utils.cpp https://commits.kde.org/umbrello/f378d78aff1bf558d076140fc5544afda781a6fc |