Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1546

Whitespaces in the middle of the value are siletly ignored

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.0.CR2
    • Fix Version/s: 3.0.0.Alpha1
    • Component/s: CLI
    • Labels:
      None

      Description

      Whitespace in the middle of value (e.g. adding a system property with a value like "my property") is silently ignored.

      Going to the history, this behaviour changed was introduced in EAP 6.0.1

      6.0.0

      /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level, value=   I   N   F   O)
      {
          "outcome" => "failed",
          "failure-description" => "JBAS011539: Log level I   N   F   O is invalid.",
          "rolled-back" => true
      }
      /system-property=test:add(value=ha ha ha)
      /system-property=test:read-attribute(name=value)
      {
          "outcome" => "success",
          "result" => "ha ha ha"
      }
      

      6.0.1 up to 7.0.0

      /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level, value=   I   N   F   O)
      /subsystem=logging/console-handler=CONSOLE:read-attribute(name=level)
      {
          "outcome" => "success",
          "result" => "INFO"
      }
      /system-property=test:add(value=ha ha ha)
      /system-property=test:read-attribute(name=value)
      {
          "outcome" => "success",
          "result" => "hahaha"
      }
      

      Main concern here is whether it is a correct behaviour to silently ignore the whitespace in the middle.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: