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

list-add doesn't work for nested list of child attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.Beta22
    • None
    • Management
    • None

    Description

      The list-add doesn't work for a child of an attribute as in the example below

      Add a dir-context first

      /profile=full/subsystem=elytron/dir-context=dir2:add(url="ldap://test")
      

      Add a ldap-realm

      /profile=full/subsystem=elytron/ldap-realm=foobar2:add(dir-context=dir2,identity-mapping={rdn-identifier=test})
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => {"main-server-group" => {"host" => {"master" => {"server-one" => {"response" => {
              "outcome" => "success",
              "response-headers" => {"process-state" => "reload-required"}
          }}}}}}
      }
      

      This is the command to add the item to the list

      /profile=full/subsystem=elytron/ldap-realm=foobar2:list-add(name=identity-mapping.new-identity-attributes,value={name=key2,value=["val1","val2"]})
      {
          "outcome" => "failed",
          "result" => undefined,
          "server-groups" => undefined,
          "rolled-back" => true
      }
      

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              cmiranda@redhat.com Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: