[jboss-jira] [JBoss JIRA] (WFLY-9287) ReferencingDeploymentsHandler is doing runtime work in Stage.MODEL

Brian Stansberry (JIRA) issues at jboss.org
Fri Sep 1 14:39:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457759#comment-13457759 ] 

Brian Stansberry commented on WFLY-9287:
----------------------------------------

I'm bumping this to Major as this op is registered on a DC profile resource, and it will fail if executed there, as it's calling context.getRequiredService(serviceName) for a service that won't be installed.

> ReferencingDeploymentsHandler is doing runtime work in Stage.MODEL
> ------------------------------------------------------------------
>
>                 Key: WFLY-9287
>                 URL: https://issues.jboss.org/browse/WFLY-9287
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 11.0.0.CR1
>            Reporter: Brian Stansberry
>
> The handler is reading services in Stage.MODEL. It should add a RUNTIME step, being careful that it's running on a non-admin-only-server (check OperationContext.isDefaultRequiresRuntime()).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list