You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/04/01 15:12:53 UTC

[jira] [Commented] (ISIS-1130) Add #isEnabled() method to services based on Wicket

    [ https://issues.apache.org/jira/browse/ISIS-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390508#comment-14390508 ] 

Martin Grigorov commented on ISIS-1130:
---------------------------------------

For a quick solution to my problem I've added #isEnabled() to DeepLinkService.java.

> Add #isEnabled() method to services based on Wicket
> ---------------------------------------------------
>
>                 Key: ISIS-1130
>                 URL: https://issues.apache.org/jira/browse/ISIS-1130
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core, Core: Viewer: Wicket
>    Affects Versions: core-1.8.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> Some **Wicket services used the Application to do their job, e.g. GuiceBeanProvider" so they cannot be used in integration tests.
> Other services depend on RequestCycle being available, e.g. DeepLinkService. Such kind of services cannot be used during application start and/or integration tests.
> There are several options:
> - return null
> - throw exception
> - add #isEnabled() method
> - ... ?!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)