[jboss-jira] [JBoss JIRA] (WFCORE-1937) Unneeded part of failure-description is printed in CLI for Elytron subsystem
Ondrej Lukas (JIRA)
issues at jboss.org
Fri Nov 4 08:05:00 EDT 2016
Ondrej Lukas created WFCORE-1937:
------------------------------------
Summary: Unneeded part of failure-description is printed in CLI for Elytron subsystem
Key: WFCORE-1937
URL: https://issues.jboss.org/browse/WFCORE-1937
Project: WildFly Core
Issue Type: Bug
Components: Server, Security
Reporter: Ondrej Lukas
Assignee: Jason Greene
For some part of Elytron subsystem some unneeded part of message is printed in failure-description - messages with prefix {{WFLYCTL0412}} and {{WFLYCTL0180}} should not be part of failure-description since they are unneeded and confusing for this kind of failures (see example).
Example:
Adding permission, but non existing module is used:
{code}
/subsystem=elytron/simple-permission-mapper=mapper:add(permission-mappings=[{permissions=[{action=read,class-name=org.wildfly.security.auth.permission.LoginPermission,target-name=someName,module=some.nonexist.module}]}])
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" => {"org.wildfly.security.permission-mapper.mapper" => "org.jboss.msc.service.StartException in service org.wildfly.security.permission-mapper.mapper: org.jboss.modules.ModuleNotFoundException: some.nonexist.module:main
Caused by: org.jboss.modules.ModuleNotFoundException: some.nonexist.module:main"},
"WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.permission-mapper.mapper"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
},
"rolled-back" => true
}
{code}
Base on comment [1] we are assigning this Jira to Brian. Could you please clarify whether WildFly Core or Elytron subsystem are responsible for printing this message to failure-description?
[1] https://issues.jboss.org/browse/JBEAP-6886?focusedCommentId=13317330&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13317330
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list