[umbrello] [Bug 400797] New: mysql exporter does not supports enums

Ralf Habacker bugzilla_noreply at kde.org
Wed Nov 7 11:47:23 GMT 2018


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

            Bug ID: 400797
           Summary: mysql exporter does not supports enums
           Product: umbrello
           Version: 2.26.2 (KDE Applications 18.08.2)
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: exporter
          Assignee: umbrello-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

Created attachment 116149
  --> https://bugs.kde.org/attachment.cgi?id=116149&action=edit
test case

The mysql export does not support exporting enums


STEPS TO REPRODUCE
1. start umbrello
2. open appended file
3. export to mysql code (select menu entry code->code generation wizard)
4. inspect generated mysql file

OBSERVED RESULT
The table columns having an enum type does not specify the enum literals.
Instead there is only the enum type name exported e.g.

  tipo_empleado ENUM_1 NOT NULL  DEFAULT 2,


EXPECTED RESULT
The export table columns having an enum type should generate something like
this

  tipo_empleado ENUM('Supervisor', 'Empleado', 'Obrero', 'Menor') NOT NULL 
DEFAULT

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


More information about the umbrello-devel mailing list