Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8253

Premature validation in Naming subsystem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 11.0.0.Alpha1
    • Naming
    • None
    • Hide
      [standalone@localhost:9990 /] /subsystem=naming/binding="java\:/foo":add(binding-type=simple, value=bar)
      {"outcome" => "success"}
      [standalone@localhost:9990 /] batch
      [standalone@localhost:9990 / #] /subsystem=naming/binding="java\:/foo":write-attribute(name=binding-type, value=lookup)
      [standalone@localhost:9990 / #] /subsystem=naming/binding="java\:/foo":write-attribute(name=lookup, value=quz)         
      [standalone@localhost:9990 / #] run-batch 
      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYNAM0060: Binding type lookup requires attributed named lookup defined"}}
      
      Show
      [standalone@localhost:9990 /] /subsystem=naming/binding= "java\:/foo" :add(binding-type=simple, value=bar) { "outcome" => "success" } [standalone@localhost:9990 /] batch [standalone@localhost:9990 / #] /subsystem=naming/binding= "java\:/foo" :write-attribute(name=binding-type, value=lookup) [standalone@localhost:9990 / #] /subsystem=naming/binding= "java\:/foo" :write-attribute(name=lookup, value=quz) [standalone@localhost:9990 / #] run-batch The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): { "WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => { "Operation step-1" => "WFLYNAM0060: Binding type lookup requires attributed named lookup defined" }}

    Attachments

      Issue Links

        Activity

          People

            emartins@redhat.com Eduardo Martins
            emartins@redhat.com Eduardo Martins
            Jan Kasik Jan Kasik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: