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

Unclear error message after cloning non-existing profile to new profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha13
    • None
    • Management
    • None

      Unclear error message after cloning non-existing profile to new profile.

      [domain@localhost:9990 /] /profile=non-existing-profile:clone(to-profile=whatever)
      {
          "outcome" => "failed",
          "result" => undefined,
          "server-groups" => undefined,
          "rolled-back" => true
      }
      [domain@localhost:9990 /] 
      

      There should be something like this on output:
      Profile 'non-existing-profile' doesn't exist.

            chaowan@redhat.com Chao Wang
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: