This is a known issue:

https://issues.apache.org/jira/browse/TAPESTRY-1568 

-----Original Message-----
From: Franz Amador [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 03, 2008 2:50 PM
To: Tapestry
Subject: T5.0.7: PageTester.renderPage chokes on page URLs that have
blanks

My page unit test dies in PageTester.renderPage.  The actual death is at
URLChangeTracker.add(URL), line 72, namely

URI resourceURI = url.toURI();

which gives a URL parsing error.  The problem seems to be that my page
URL has blanks:

file:/C:/Documents and
Settings/Franz/workspace/pi-tapestry5/src/main/webapp/AppHomeDirPage.tml

because I'm using the default Eclipse workspace location.  It doesn't
die when I run the app, though.  When I look at the URL in the debugger
then, I see that the blanks have been escaped:

file:/C:/Documents%20and%20Settings/Franz/workspace/pi-tapestry5/src/mai
n/webapp/AppHomeDirPage.tml

so it looks like the page Resource generates a different URL when run as
an app (blanks escaped) than when run as a test (blanks not escaped).



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to