To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108148
                 Issue #|108148
                 Summary|Async query to api regardless of documentation
               Component|api
                 Version|OOo 3.1.1
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|akusmierz





------- Additional comments from [email protected] Fri Jan  8 07:44:18 
+0000 2010 -------
I've noticed some api queries are executed in wrong order. In most cases it 
seems to be ok, but in some - not.

For example if I tried to add new row and next immediately move table cursor 
down on it, insertByIndex() function returns false, because there isn't a row 
this time. But after a few ms I can move cursor and I have this row inserted.

Tested on Ubuntu with OOo 3.1.1 and on Windows XP with OOo 2.4.6 also. OOo 
service started as '/usr/bin/openoffice.org "-
accept=socket,tcpNoDelay=1,host=localhost,port=8100;urp,Negotiate=1,ForceSynchronous=1;StarOffice.ServiceManager"
 
-nologo -headless -nofirststartwizard'

I've attached sample code with sample doc file. It returns something like:
Rows: 2
added #0/3
crap! #1/4
crap! #2/5
crap! #3/6
crap! #4/7
crap! #5/8
crap! #6/9
crap! #7/10
crap! #8/11
crap! #9/12
Rows: 12
added
added
added
added
added
added
added
added
added
added
Rows: 12

But should only "added".

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to