Apache OpenOffice (AOO) Bugzilla – Issue 55579
API: dbaccess.OQueryDesign::com::sun::star::frame::XController
Last modified: 2013-02-24 21:10:08 UTC
The UNO-API-Trest does not work correct. If getModel() returns NULL an OK-Status is possible. As result of this the attachModel() failes.
Since OQueryDesign returns NULL this is not a bug in the test. An issue was found in attachModel(Null) which returns "OK" in src680_m132. If OK is returned the test checks for equal of the old and the new model. While the new model is NULL a NullPointerException was thrwon. So this issue will be retarget to OfficeLater and the new owner is oj. cn->oj: the method attachModel(NULL) returns OK.
Fixed in cws dba31b
Please verify. You have also to adjust the test. To open the query design you have to load it with a ActiveConnection. attachModel with NULL now return false.
ok in cws => verified
This issue is closed automatically. It should be fixed in a version with is available for longer than half a year (OOo 3.1). If you think this issue isn't fixed in the current version (OOo 3.2) please reopen it. But then please pay attention about the field 'target milestone'. The closure was approved by the Release Status Meeting at 22nd of February 2010 and it is based on the issue handling guideline for fixed/verified issues : http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues