Issue 30282 - loadComponentFromUrl does not return null anymore
Summary: loadComponentFromUrl does not return null anymore
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 21:20 UTC by kasey
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 kasey 2004-06-15 21:20:22 UTC
The following BASIC code runs in OOo1.1.2 but fails in 680m41, where [path] is a
nonexistent file.

  dim args(0) as new com.sun.star.beans.PropertyValue
  dim path$
  dim component as object

  path = "(nonexistent file)"
  component =
thiscomponent.currentcontroller.frame.loadcomponentfromurl(path,"_blank",0,args())
  if isnull(component) then msgbox "Error opening " & path
Comment 1 stephan.wunderlich 2004-07-06 13:00:36 UTC
SW->kasey: the method lodComponentFromURL throws the expected
IllegalArgumentException in your case from src680mXX (on the way to Ooo2.0),
which wasn't thrown in previous version srx645mXX (OOo1.x.x). This is the
expected behaviour and no issue :-) 
Comment 2 kasey 2004-07-06 20:28:15 UTC
Understood. So actually OOo1.1.2's behavior was a defect, even though it was
pretty darn convenient.