[jboss-jira] [JBoss JIRA] (WFCORE-1396) Delete GlobalOperationHandlers cruft about not register write-attribute handlers on ProcessType.DOMAIN_SERVER

Brian Stansberry (JIRA) issues at jboss.org
Fri Mar 4 16:32:00 EST 2016


     [ https://issues.jboss.org/browse/WFCORE-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1396:
-------------------------------------
    Description: 
GlobalOperationHandlers.registerGlobalOperations has a block where it appears not to register handlers for write-attribute and undefine-attribute if the process type is ProcessType.DOMAIN_SERVER.

But ProcessType.DOMAIN_SERVER is never the value passed as the param, so the if check has no effect and if the block ever didn't execute the server would not be properly manageable, since the HC sends over write-attribute and undefine-attribute ops.

So delete it.

  was:
GlobalOperationHandlers.registerGlobalOperations has a block where it appears not to register handlers for write-attribute and undefine-attribute if the process type is ProcessType.DOMAIN_SERVER.

But ProcessType.DOMAIN_SERVER is never the value passed as the param, so the block has no effect and if it ever took effect the server would not be properly manageable, since the HC sends over write-attribute and undefine-attribute ops.

So delete it.



> Delete GlobalOperationHandlers cruft about not register write-attribute handlers on ProcessType.DOMAIN_SERVER
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1396
>                 URL: https://issues.jboss.org/browse/WFCORE-1396
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>    Affects Versions: 2.1.0.CR1
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: 3.0.0.Alpha1
>
>
> GlobalOperationHandlers.registerGlobalOperations has a block where it appears not to register handlers for write-attribute and undefine-attribute if the process type is ProcessType.DOMAIN_SERVER.
> But ProcessType.DOMAIN_SERVER is never the value passed as the param, so the if check has no effect and if the block ever didn't execute the server would not be properly manageable, since the HC sends over write-attribute and undefine-attribute ops.
> So delete it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list