Summary: | export to sql (postgresql, mysql) generates empty tables (with no fields) | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Liwiusz Ociepa <liwiusz> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexeyp, andreas.plank.bio, julio, ralf.habacker, samirfor |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/56de3f4b94f1513c9c8bc42bd4494e79465de7e4 | Version Fixed In: | 2.15.80 (KDE Applications 15.03.80) |
Description
Liwiusz Ociepa
2008-05-20 20:21:18 UTC
The same with version 2.0.72 (KDE 4.00.80 - Debian experimental packages). This bug also affects version 2.5.5 Is it really a bug or have not been implemented? still empty sql blocks in 4.7.2 "release 5". Seems not yet implemented Recent implementation of sql writer *only* support generating sql code from entity relation diagrams and not from class diagrams. Because of an implementation error in class SQLWriter (usage of static_cast instead of dynamic_cast) classes without attributes are selected to write sql code for. Git commit 56de3f4b94f1513c9c8bc42bd4494e79465de7e4 by Ralf Habacker. Committed on 27/02/2015 at 17:31. Pushed by habacker into branch 'Applications/14.12'. Fix of 'Export to sql (postgresql, mysql) generates empty tables (with no fields)'. Sql writer only supports generating code from an entity relation diagram. The wrong usage of static_cast let classes be written too. FIXED-IN:2.15.3 (KDE 14.12.3) M +2 -2 umbrello/codegenerators/sql/sqlwriter.cpp http://commits.kde.org/umbrello/56de3f4b94f1513c9c8bc42bd4494e79465de7e4 Git commit 28f1b540534afafe1169c9d26fbd94b33bea32ac by Ralf Habacker. Committed on 27/02/2015 at 17:46. Pushed by habacker into branch 'master'. Fix additional possible invalid static_cast usages. M +15 -5 umbrello/codegenerators/sql/sqlwriter.cpp http://commits.kde.org/umbrello/28f1b540534afafe1169c9d26fbd94b33bea32ac *** Bug 167704 has been marked as a duplicate of this bug. *** *** Bug 208200 has been marked as a duplicate of this bug. *** |