Issue 49573 - mxComponentLoader.loadComponentFromURL accepts only URLs containing backslashes
Summary: mxComponentLoader.loadComponentFromURL accepts only URLs containing backslashes
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 11:27 UTC by wintermond
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 wintermond 2005-05-20 11:27:45 UTC
Today i updated to the beta version and tried to run my conversion program, when
in ran into the following issue:
The "normal" file url using windows xp would be
file:/driveLetter:/anyDirectoryStructure/ExampleFile.suffix

The beta version (1.9.104) returns an error stating "URL seems to be an
unsupported one". The only file urls oo accepts are url containing backslashes:
file://driveLetter:\dir\file
Comment 1 wintermond 2005-05-20 13:36:15 UTC
Addendum:
The annoying part is, that storing via xStorable.storeAsURL(target,
propertyvalue) fails, IF the file url contains backslashes.

Even if the previous reported error was working as intend, this would be
inconsistent.

Great product otherwise, both thumbs up!
Comment 2 stephan.wunderlich 2005-05-23 09:49:21 UTC
loadComponentFromURL only supports urls and is supposed to throw an exception in
case it gets a wrong parameter. None of yours are file-urls and I wonder that
the second worked for you.  What works like a charm for me are real urls like
   file:///driveLetter:/anyDirectoryStructure/ExampleFile.suffix
Comment 3 stephan.wunderlich 2005-07-12 08:40:26 UTC
closing