To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=90292 Issue #|90292 Summary|Missleading error message, loadComponentFromURL('priva |te:stream', ...) Component|framework Version|OOo 2.4.0 Platform|PC URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|scripting Assigned to|ab Reported by|htgoebel
------- Additional comments from [EMAIL PROTECTED] Tue Jun 3 09:19:13 +0000 2008 ------- The code snippet below gives an "URL seams to be an unsupported one." error, because the required "InputStream" property is not passed. This is very missleading! It should report something like "required property for URL missing". It took me several hours to find this mini-typo, because I was looking at the wrong places. A better error message would help quite much! args = [] arg1 = PropertyValue() arg1.Name = "InputSteam" # <<< Typo here arg1.Value = stream_in args.append(arg1) doc = desktop.loadComponentFromURL( "private:stream", "_blank", 0, tuple(args) ) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]