[jboss-jira] [JBoss JIRA] (WFLY-7219) Wrong description of missing target-name in simple-permission-mapper
Jan Kalina (JIRA)
issues at jboss.org
Sat Dec 3 15:09:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13333486#comment-13333486 ]
Jan Kalina commented on WFLY-7219:
----------------------------------
Ok, I has try it, but as [~dmlloyd] noticed, there is not guaranteed that Permission define constructor for all allowed combinations - the null can be allowed in arguments...
I can catch the exception (or just InvalidArgumentException), but there is not guaranteed that the exception was caused by given argument...
I think we will have to close this as impossible in general.
> Wrong description of missing target-name in simple-permission-mapper
> --------------------------------------------------------------------
>
> Key: WFLY-7219
> URL: https://issues.jboss.org/browse/WFLY-7219
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Ondrej Lukas
> Assignee: Jan Kalina
> Labels: user_experience
> Fix For: 11.0.0.Alpha1
>
>
> In case when simple-permission-mapper cannot be added through CLI command due to missing target-name attribute, then IllegalArgumentException with wrong description is thrown. It says: "Parameter '*name*' may not be null". It should be "Parameter '*target-name*' may not be null".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list