Issue 35256 - Error when retrieving debugging information of (X)TableColumns
Summary: Error when retrieving debugging information of (X)TableColumns
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 01:01 UTC by christianjunker
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description christianjunker 2004-10-11 01:01:29 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.
Comment 1 stephan.wunderlich 2004-10-11 18:07:31 UTC
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
Comment 2 stephan.wunderlich 2004-10-15 09:02:17 UTC
closing