Hi Dan,
It's called when added to isis.fixtures but doesn't logon Sven.
I assigned a ticket, https://issues.apache.org/jira/browse/ISIS-399
Regards
Christian
________________________________________
From: Dan Haywood [[email protected]]
Sent: Wednesday, May 08, 2013 3:56 PM
To: users
Subject: Re: LogonAsSvenFixture?
Er, no. Two reasons.
One, it's a fixture, not a service. So it should be registered in
isis.fixtures (there should be a key in isis.properties, somewhere).
Two. Although what you're asking for is reasonable, and works with some of
the other viewers, I'm not completely certain it works on Wicket viewer.
If it doesn't, please do raise a ticket so it doesn't get lost as a
requirement.
Cheers
Dan
On 8 May 2013 14:53, Christian Steinebach <
[email protected]> wrote:
> Hi!
>
> I added the LogonAsSvenFixture to the list of isis.services in
> isis.properties.
> I thought that would do an automatic login as user sven.
> I use the unmoidified quickstart application
> But I get an exception during start-up
>
> [exec] 11345 [Thread-4] WARN
> org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED WicketFilter:
> com.google.inject.ProvisionException: Guice provision errors:
> [exec]
> [exec] 1) Error in custom provider,
> org.apache.isis.core.metamodel.spec.ObjectSpecificationException: Service
> object fixture.LogonAsSvenFixture should have no fields, but has: roles,
> type, username
> [exec] at
> org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:138)
> [exec] at
> org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:138)
> [exec] while locating org.apache.isis.core.runtime.system.IsisSystem
> [exec] for field at
> org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.system(IsisWicketApplication.java:133)
> [exec] while locating app.QuickStartApplication
>
> Regards
> Christian