Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | oForm.insertRow() doesn't work correct | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base | Reporter: | robbygro <robert> | ||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | UNCONFIRMED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | drewjensen.inbox, issues, weigel | ||||||
Version: | OOo 3.2 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | Unknown | ||||||||
OS: | Linux, all | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | 111205 | ||||||||
Issue Blocks: | |||||||||
Attachments: |
|
Description
robbygro
2010-03-07 14:26:45 UTC
Created attachment 68194 [details]
insertRow() in a subform
In a mainform insertRow() works correct. In a subform it does not work, when the subform isn't connected with the mainform. The example shows names. In the subforms the names should get a group. In OOo 3.1.1 it works with the macro: First insertRow(), then reading the insertID and put it in the maintable. OOo 3.2 inserts the values (could be more than one times) in the table "gruppe" and stops with "no data is available" Well, I think this is actually another example of the error reported in http://www.openoffice.org/issues/show_bug.cgi?id=108390 It's not identical of course but I would guess it is the same root cause. That is already fixed and waiting for the first 3.2.1 developers build for testing. Will check this file against that dev build ASAP after it is released. It's the same problem when you construct a query like "SELECT "Name" FROM "Table" WHERE "ID" IN (SELECT "nameID" FROM "Anothertable")" You will get a query with the possibility to put in new values. But it returns "no data is available" and with every "OK" on the popup it puts in more the data which is "not available" into "Table". I have tested OOO320m16 with "SELECT "Name" FROM "Table" WHERE "ID" IN (SELECT "nameID" FROM "Anothertable")" It does not work. Only filtered data in one table work now. After the test in OOO320m16 I have added a new version of my first attachment. There is a form and a query. The query will work when the filtered value is the value you have putted in. The query will return "not available" when the filtered value isn't put in. At the same time the data has been saved in the background. Seems that the gui will refresh data and calls HSQLDB for all the rows which are in the query - but the last input could not be a result and is not available from the database. There wasn't any refresh in earlier versions of OOo-Base at this time. The form shows the problem with insertRow() - and a new problem for a new issue: Not text in the textfields. Created attachment 69205 [details]
try to input values in the query whithout a value for "gruppeID"
|