Apache OpenOffice (AOO) Bugzilla – Issue 113506
thisDatabaseDocument.FormDocuments.getbyName( XX ).open retuns NULL if form is aldready open
Last modified: 2017-05-20 10:22:41 UTC
Test systems OOO330m_2 / Ubuntu Studio 10.04 (AMD64) & Win Vista (32bit) #FAIL OOo3.2.1, 3.2.0 - #PASS I did not try LoadComponentFromURL against the forms container to see if that changed also. To reproduce load the attached file, with macro execution enabled. On the main form Select any item in the grid Select Article in the drop down list Click 'Edit as' button. Close the form and save the record. This code is run: sub updateBiblio dim bkMark as variant dim oForm as object dim ResultSet as object thisDatabaseDocument.LockControllers oForm = thisDatabaseDocument.FormDocuments.getByHierarchicalName( "Biblio" ).open if not isEmpty( oForm ) then 'xray oForm ResultSet = oForm.Drawpage.Forms.getbyIndex( 0 ) bkMark = ResultSet.getBookMark Resultset.Reload do while NOT ResultSet.isLoaded wait 1 loop ResultSet.moveToBookmark( bkMark ) end if thisDatabaseDocument.UnLockControllers end sub xray oForm returns NULL OBJECT ??
Created attachment 70870 [details] bug doc
Using OOO330m5 / Lucid 10.04 - the problem remains
grabbing, attempting to fix this for 3.3
fixed in CWS dba33i find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba33i
fs->sba: please verify in CWS dba33i
fs->msc: please verify in CWS dba33i
verified in CWS dba33i find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba33i