Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8681

Noninformative failure description when creating file handler with invalid path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.0.Beta1
    • 11.0.0.Alpha1
    • Web (Undertow)
    • None

    Description

      Calling

      /subsystem=undertow/configuration=handler/file=my-testing-handler:add(path="/some/path")
      

      results in this failure description, which just prints the provided path.

      {
          "outcome" => "failed",
          "failure-description" => "/some/path",
          "rolled-back" => true
      }
      

      The failure description should be enhanced to include information what it doesn't like about the path => e.g the path

      {"/some/path"}

      doesn't exist on file system

      Attachments

        Issue Links

          Activity

            People

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: