https://bugs.documentfoundation.org/show_bug.cgi?id=156776
--- Comment #12 from [email protected] --- (In reply to Robert Großkopf from comment #11) > Ah, now I see the problem you got. I understood: Table won't appear. But you > wanted to save the name automatically without changing the entry. > > Only in internal databases without any schema the file name of the table > will be changed automatically. > > I get the same behavior without changing schema: Table name will always be > "Table1". If I try to save a new table in the same schema it will be the > same name - also in default schema. This bug causes two faults to appear: - Base is not able to know the default schema of the connection, if the connection supports schemas. - dlgsave.cxx does not ensure that the table name remains unique when changing schema or catalog in combobox. To solve the first defect, it would be necessary to add a new method getSchema() to the idl file com.sun.star.sdbc.XConnection (same as getCatalog()) The second problem should be solved by listeners on the combobox allowing to recalculate the unique name of the table according to the changed schema and / or catalog. Maybe there is another easier way to fix this bug? -- You are receiving this mail because: You are the assignee for the bug.
