-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
None
-
None
CLI running in gui mode can be used to generate some CLI commands. However commands for write-attribute operation doesn't wrap the value into quotation marks and in some cases (e.g. log handler formatter) cannot be used.
This issue is valid also for CLI tab in JConsole from ${JBOSS_HOME}/bin/jconsole.[sh|bat]
reproduce
- start the out of box standalone, run cli in gui mode (--gui switch)
- navigate to /subsystem=logging/console-handler=CONSOLE/formatter
- press right mouse button/writte-attribute/OK
- submit the generated cli command
/subsystem=logging/console-handler=CONSOLE/:write-attribute(name=formatter,value=%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n) { "outcome" => "failed", "failure-description" => "WFLYCTL0097: Wrong type for formatter. Expected [EXPRESSION, STRING] but was LIST", "rolled-back" => true }
- is related to
-
JBEAP-4834 CLI gui should be used primarily for building commands (CLI guide)
- Closed
- relates to
-
JBEAP-4833 CLI gui returns null for specific command with access-control parameter while console CLI returns valid result
- Verified