[jboss-jira] [JBoss JIRA] (WFCORE-1908) Tab completion suggest writing attribute which has access type metric and is not writable
Chao Wang (JIRA)
issues at jboss.org
Mon Oct 31 04:15:01 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Wang moved JBEAP-6715 to WFCORE-1908:
------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1908 (was: JBEAP-6715)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
(was: CLI)
(was: User Experience)
Affects Version/s: 3.0.0.Alpha11
(was: 7.1.0.DR7)
> Tab completion suggest writing attribute which has access type metric and is not writable
> -----------------------------------------------------------------------------------------
>
> Key: WFCORE-1908
> URL: https://issues.jboss.org/browse/WFCORE-1908
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0.Alpha11
> Reporter: Chao Wang
> Assignee: Chao Wang
> Priority: Minor
>
> CLI tab completion suggests attributes that are not writable and their access-type is {{metric}}
> Example {code}
> /subsystem=messaging-activemq/server=default/jms-queue=DLQ:write-attribute(name=<TAB>
> consumer-count delivering-count entries legacy-entries message-count messages-added scheduled-count
> {code}
> From executing {{:read-resource-description}} we can see, attributes consumer-count, delivering-count, message-count, messages-added, scheduled-count are of type metric.
> On attempt to write metric attribute, for example message-count, non writable error is printed {code}
> [standalone at localhost:9990 jms-queue=q] :write-attribute(name=message-count, value=5)
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0048: Attribute message-count is not writable",
> "rolled-back" => true
> }
> {code}
> CLI should not suggest writing attributes that are not writable.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
More information about the jboss-jira
mailing list