-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR7
-
None
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:
/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
}
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?
- is cloned by
-
WFCORE-1937 Unneeded part of failure-description is printed in CLI for Elytron subsystem
-
- Resolved
-
- is incorporated by
-
JBEAP-7960 (7.1.0) Upgrade to WildFly Core to 3.0.0.Alpha22
-
- Closed
-