[Uml-devel] [Bug 84739] New: umbrello design bug in CVS
Jozko Mrkvicka
kde at pobox.sk
Fri Jul 9 00:11:02 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=84739
Summary: umbrello design bug in CVS
Product: umbrello
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: kde pobox sk
Version: 1.2.90 (using KDE 3.1.5)
Installed from: Gentoo
Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS: Linux (i686) release 2.4.23
The umbrello in CVS ignores the CPP code generation settings. The code generator creates the document by codeGeneratorFactory.createObject but the settings are read only later by calling g->getPolicy()->setDefaults. I tried to fix the bug but i think that it's a design bug. The document should not be generated when the generator object is created through constructors, or else the document cannot be re-generated. Or the settings should be read earlier (when the constructor is called).
I came across this problem when I tried to disable the accessor generation in the config (which should be off by default because it just makes the members "public").
Joe
More information about the umbrello-devel
mailing list