[jboss-jira] [JBoss JIRA] (WFLY-6754) Bindings of most binding-types can not be created in naming subsystem configuration in Web Console
Tomas Hofman (JIRA)
issues at jboss.org
Wed Jun 22 07:02:01 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Hofman moved JBEAP-5102 to WFLY-6754:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-6754 (was: JBEAP-5102)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Naming
Web Console
(was: Web Console)
(was: Naming)
Target Release: (was: 7.backlog.GA)
Affects Version/s: 10.0.0.Final
(was: 7.0.1.CR1)
> Bindings of most binding-types can not be created in naming subsystem configuration in Web Console
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-6754
> URL: https://issues.jboss.org/browse/WFLY-6754
> Project: WildFly
> Issue Type: Bug
> Components: Naming, Web Console
> Affects Versions: 10.0.0.Final
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
> Priority: Critical
>
> When adding bindings in naming subsystem configuration of Web Console, the Add form has wrong mandatory fields. Mandatory fields for bindings are dependent on binding type.
> On the other hand, some binding types do not have attributes that the Add form will try to send to the interface, resulting in user being unable to add any binding type besides {{external context}} (for example, adding a simple or lookup binding will result in {{Unknown error}} due to simple binding type not being able to have 'cache' attribute).
> For example, {{/subsystem=naming/binding=java\:global\/a:add(binding-type=simple, type=int, value=100)}} would be a legal simple binding inserted through the JBoss CLI:
> {code}{"outcome" => "success"}{code}
> Adding this same following binding will produce the following error output in Web Console:
> {quote}Unknown error
> Unexpected HTTP response: 500
> Request
> {code}{
> "name" => "java:global/a",
> "binding-type" => "simple",
> "cache" => false,
> "class" => undefined,
> "environment" => undefined,
> "lookup" => undefined,
> "module" => undefined,
> "type" => "int",
> "value" => "100",
> "operation" => "add",
> "address" => [
> ("subsystem" => "naming"),
> ("binding" => "java:global/a")
> ]
> }{code}
> Response
> Internal Server Error
> {code}{
> "outcome" => "failed",
> "failure-description" => "WFLYNAM0061: Binding type simple can not take a 'cache' attribute",
> "rolled-back" => true
> }{code}{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list