Re: [T5.3] tapestry-jpa and spock

2012-03-30 Thread Kalle Korhonen
If your code or the code you are testing is using context assets (which tapestry-jpa does), you need to set the context: ApplicationGlobals globals = registry.getObject(ApplicationGlobals.class, null); globals.storeContext(new PageTesterContext(contextPath)); registry.perfor

[T5.3] tapestry-jpa and spock

2012-02-24 Thread Serge Eby
Hi, I am using the spock snapshot (0.6) and when tapestry-jpa (5.3.2) is added, I am getting this error: --- excerpt java.lang.RuntimeException: Exception constructing service 'RegistryStartup': Error invoking service contribution method org.apache.tapestry5.jpa.JpaModule.startupEarly(Entit