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

[Deployment overlay] Inconsistent error messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR11
    • 7.1.0.DR8
    • CLI, User Experience
    • None

    Description

      Problem
      Following commands produces different error message even though the problem is same - not existing deployment overlay.

      • command:
        deployment-overlay list-content --name=not-existing-overlay
        and remove operation
        output:
        Failed to load the list of the existing content for overlay not-existing-overlay: {
        "outcome" => "failed",
        "failure-description" => "WFLYCTL0216: Management resource '[(\"deployment-overlay\" => \"not-existing-overlay\")]' not found",
        "rolled-back" => true,
        "result" => undefined
        }
      • command:
        deployment-overlay list-links --name=not-existing-overlay
        output:
        Empty output
      • command:
        deployment-overlay redeploy-affected --name=not-existing-overlay
        None of the deployments affected.
      • command:
        deployment-overlay link --deployments=jboss-ejb-in-war.war --name=not-existing-overlay
        output:
        {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" =>
        Unknown macro: {"Operation step-1" => "WFLYCTL0175}

        }

      • command:
        deployment-overlay upload --deployments=jboss-ejb-in-war.war --name=not-existing-overlay
        output:
        Deployment overlay not-existing-overlay does not exist.

      Proposed solution
      Unify message as possible.

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              jstefl@redhat.com Jan Štefl
              Jan Štefl Jan Štefl
              Jan Štefl Jan Štefl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: