Apache OpenOffice (AOO) Bugzilla – Issue 35256
Error when retrieving debugging information of (X)TableColumns
Last modified: 2013-02-24 21:06:50 UTC
An error is thrown when one tries to inspect a "TableColumns" object with Starbasic (not tested in other languages yet). To reproduce this problem write the following macro: Sub InspectColumns oDoc = StarDesktop.getCurrentComponent() sheets = oDoc.getSheets() oCurSheet = sheets.getByIndex(0) cols = oCurSheet.getColumns() msgbox cols.dbg_properties End Sub What happens is this: An empty string is returned (indicating that the service has no properties) and after that a Basic Runtime Error is thrown saying "Incorrect Property Value". Probably this error is thrown because of how methods like dbg_properties or dbg_supportedServices handle debugging information in Starbasic.
sw->cyb: I could reproduce the behaviour in OOo1.1.x, but it seems to be fixed in the current milestone ... the problem seems to have been a problem with the XNameAccess implementation which has been obviously fixed by now. Setting it to WORKSFORME, since it doesn't appear in OOo2.0 and all methods beside the debugging methods seem to work properly in OOo1.1.x
closing