Issue 41887 - API: dbaccess.ODatabaseContext::com::sun::star::container::XNameAccess
Summary: API: dbaccess.ODatabaseContext::com::sun::star::container::XNameAccess
Status: CLOSED FIXED
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: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 12:09 UTC by chne
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 chne 2005-02-02 12:09:54 UTC
If you call getBName() with an invald name a
com.sun.star.lang.WrappedTargetException was thrown. Expected is a
com.sun.star.container.NoSuchElementException.
To reproduce this behavior just start your office with parameter

"-accept=socket,host=0,port=8100;urp;" 

and call inside a solar shell:

checkapi -o dbaccess.ODatabaseContext::com::sun::star::container::XNameAccess
Comment 1 ocke.janssen 2005-02-02 12:53:32 UTC
Fixed in cws dba24
Comment 2 ocke.janssen 2005-02-25 12:53:17 UTC
Please verify. Thanks.

The test qadev has to be adjusted to the new api.

re-open issue and try to reassign to cn@openoffice.org
Comment 3 ocke.janssen 2005-02-25 12:53:24 UTC
try to reassign to cn@openoffice.org
Comment 4 ocke.janssen 2005-02-25 12:53:28 UTC
try to reset resolution to FIXED
Comment 5 christoph.lukasiak 2005-03-08 11:25:45 UTC
correct target
Comment 6 stephan.wunderlich 2005-03-08 14:50:44 UTC
works as expected in cws_dba24 => verified.

Remark: the testcase has to be adjusted 

XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class,
oInterface);

has to be changed to

XDocumentDataSource xDDS = (XDocumentDataSource)
UnoRuntime.queryInterface(XDocumentDataSource.class, oInterface);
XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class,
xDDS.getDatabaseDocument ());
Comment 7 chne 2005-04-01 07:35:16 UTC
ok in src680_m89