WicketTester.startPage(page) throws "No requestCycle is currently set"
----------------------------------------------------------------------

                 Key: WICKET-1558
                 URL: https://issues.apache.org/jira/browse/WICKET-1558
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.3
         Environment: Eclipse 3.3.1.1 on Ubuntu 7.10
            Reporter: Federico Fanton
            Priority: Minor


I'm receiving a strange message with WicketTester in 1.3.3.. Whenever I use 
startPage(Page) I get a

"there was an error cleaning up target [EMAIL PROTECTED] class = 
org.apache.wicket.util.tester.DummyHomePage, id = 1, version = 
0]->testPage->interface 
org.apache.wicket.markup.html.link.ILinkListener.ILinkListener (request 
paramaters: [RequestParameters  componentPath=1:testPage pageMapName=null 
versionNumber=0 interfaceName=ILinkListener componentId=null behaviorId=null 
urlDepth=-1 parameters={} onlyProcessIfPathActive=false])."

followed by

"No requestcycle is currently set!"

To reproduce, just use a QuickStart with a completely static Homepage.html (no 
wicket:id's) and an empty Homepage.class (just a "Homepage extends WebPage"), 
while the test itself is

new WicketTester().startPage(new HomePage());

with

log4j.logger.org.apache.wicket=DEBUG

inside log4j.properties, to enable logging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to