[umbrello] [Bug 379776] Umbrello adds unrelated datatypes on file loading

Oliver Kellogg bugzilla_noreply at kde.org
Sun Oct 18 11:20:51 BST 2020


https://bugs.kde.org/show_bug.cgi?id=379776

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net
     Ever confirmed|0                           |1

--- Comment #1 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
The test.xmi attachment selects <codegenerator language="C++"/>.
There is a latent conflict: When C++ is selected, the user would expect all
builtin types of C++ to be available.

The isActive flag of UMLDataType which was introduced by the fix for bug 427532
could be used to address this.
Before loading a file, the builtin types of the active language shall be set to
inactive. On loading the file, only the data types loaded shall get the
isActive flag set to true.
However, if after loading the user explicitly selects Code -> Active Language
"C++" then this has the effect that all C++ builtin types are activated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list