Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.5.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: All
Platform: All
Description
Part of the component-metadata generation code was treating file:// URLs as file
paths, which causes problems if the actual file path has spaces, since URLs
escape spaces with characters that are valid for file paths, which in effect
means using a different file path than was intended.
Eg:
C:\Documents%20and%20Settings\Mark%20Collette\IdeaProjects\ICEfaces1.1\icefaces\component-metadata\target\classes\conf\sun-faces-config-verified.xml
C:\Documents and Settings\Mark
Collette\IdeaProjects\ICEfaces1.1\icefaces\component-metadata\target\classes\conf\sun-faces-config-verified.xml
paths, which causes problems if the actual file path has spaces, since URLs
escape spaces with characters that are valid for file paths, which in effect
means using a different file path than was intended.
Eg:
C:\Documents%20and%20Settings\Mark%20Collette\IdeaProjects\ICEfaces1.1\icefaces\component-metadata\target\classes\conf\sun-faces-config-verified.xml
C:\Documents and Settings\Mark
Collette\IdeaProjects\ICEfaces1.1\icefaces\component-metadata\target\classes\conf\sun-faces-config-verified.xml
Subversion 12641
icefaces\component-metadata\src\main\java\com\icesoft\faces\metadata\TestValidMetadataXML.java