[jboss-jira] [JBoss JIRA] (AS7-3473) Fix capitalization mismatch in subsystem description
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jan 26 15:44:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662300#comment-12662300 ]
Brian Stansberry commented on AS7-3473:
---------------------------------------
Perhaps a simple fix (at least partial) for this is in EnumValidator.getAllowedValues(). It's calling name() on the enums rather than toString(). Using toString() would be better as it would give enum coders the ability to control the text.
That class is used in a few places though, so you'd need to check it wouldn't break things. Jason Greene has a JIRA assigned to him related to the same kind of thing in the security subsystem.
> Fix capitalization mismatch in subsystem description
> ----------------------------------------------------
>
> Key: AS7-3473
> URL: https://issues.jboss.org/browse/AS7-3473
> Project: Application Server 7
> Issue Type: Task
> Components: IIOP
> Affects Versions: 7.1.0.CR1b
> Reporter: Stefan Guilhen
> Assignee: Stefan Guilhen
> Fix For: 7.1.0.Final
>
>
> The allowed values of jacorb subsystem properties are currently displayed in capital letters (ON, OFF) while the description and default values show a different string (on, off):
> "queue-wait" => {
> "type" => STRING,
> "description" => "Indicates whether requests that exceed the maximum queue size should wait (on) or not (off). When disabled, a TRANSIENT exception is thrown if the queue is full.",
> "expressions-allowed" => false,
> "nillable" => true,
> "default" => "off",
> "allowed" => [
> "OFF",
> "ON"
> ],
> "access-type" => "read-write",
> "storage" => "configuration",
> "restart-required" => "all-services"
> },
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list