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

The publish-configuration command doesn't throw an error when the git location is invalid

XMLWordPrintable

    • Hide

      Configure Git support to manage the configuration history [1]. Execute the following command where the location is invalid:

      [standalone@localhost:9990 /] :publish-configuration(location="invalid_location")
      {
          "outcome" => "success",
          "result" => ""
      }
      

      Expected result: An error to be thrown because location="invalid_location".

      [1] https://docs.wildfly.org/28/Admin_Guide.html#Configuration_file_git_history

      Show
      Configure Git support to manage the configuration history [1] . Execute the following command where the location is invalid: [standalone@localhost:9990 /] :publish-configuration(location= "invalid_location" ) { "outcome" => "success" , "result" => "" } Expected result: An error to be thrown because location="invalid_location". [1] https://docs.wildfly.org/28/Admin_Guide.html#Configuration_file_git_history

      The publish-configuration command shouldn't complete with "outcome" => "success" when the git location is not valid:

      [standalone@localhost:9990 /] :publish-configuration(location="invalid_location")
      {
          "outcome" => "success",
          "result" => ""
      }
      

            rhn-support-ivassile Ilia Vassilev
            rhn-support-ivassile Ilia Vassilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: