Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10630

Noninformative failure description when creating file handler with invalid path

    XMLWordPrintable

Details

    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
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: