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

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

XMLWordPrintable

      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:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: