Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Unwanted garbage appearing in forms for PostgreSQL data | ||
---|---|---|---|
Product: | Base | Reporter: | bkline <bkline> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 644 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
bkline
2003-04-23 14:30:58 UTC
Hi bkline, this only happend when you use the form wizard. If you look at the control properties of the textcontrol then you see that the default value is set to 32. So if you remove the defaut value the form is work as you want. -> BC: This only happend when you use a Postgres SQL ODBC datasource. Please contact me for more information when you try to reproduce this. Hi, The problem is neither the form nor the wizard it's the API. - Create a postgres datasource with the name Postgres - create the table t mention in the first description - execute the basic script. ==>> a defaut value is return, but none is set. Sub Main oDBContent = createUnoService("com.sun.star.sdb.DatabaseContext") oDB = oDBContent.getByName("Postgres") handle = createUnoService("com.sun.star.sdb.InteractionHandler") oCon = oDB.connectWithCompletion(handle) Tables = oCon.getTables() Table = Tables.getByName("t") oColumns = Table.getColumns() oColumn = oColumns.GetByName("name") print oColumn.DefaultValue End Sub So I send the Bug to OJ because he is responcible for the API. Bye Marc Hi, this seems to be a bu of the PostgreSQL ODBC driver. When using version 7.03.01 no default value is returned. Marc, could please verify this, too. Best regards, Ocke change subcomponent to 'none' Because of limited resource for OOo2.0, it was decided to shift this tasks to the next milestone. If somebody will be found, who can implement this until OOo2.0, then this tasks will be re-targeted. |