]
ehsavoie Hugonnet updated WFCORE-1937:
--------------------------------------
Component/s: Domain Management
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: Domain Management, Security, Server
Affects Versions: 3.0.0.Alpha11
Reporter: Ondrej Lukas
Assignee: ehsavoie Hugonnet
Labels: user_experience
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&...