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

Removing of non-existent mapping-module finishes with outcome success

    XMLWordPrintable

Details

    • Hide

      Start server. Then add mapping to security domain other:

      ./jboss-cli.sh -c '/subsystem=security/security-domain=other/mapping=classic:add()'
      

      Then reproduce issue with:

      ./jboss-cli.sh -c '/subsystem=security/security-domain=other/mapping=classic/mapping-module=nonExistent:remove()'
      
      Show
      Start server. Then add mapping to security domain other: ./jboss-cli.sh -c '/subsystem=security/security-domain=other/mapping=classic:add()' Then reproduce issue with: ./jboss-cli.sh -c '/subsystem=security/security-domain=other/mapping=classic/mapping-module=nonExistent:remove()'

    Description

      In case when non-existent mapping-module is removed through Management CLI, operation should finish with failure. However it finishes with outcome success and nothing is changed. It can be confusing since wrong command seems same as correct command.

      Attachments

        Issue Links

          Activity

            People

              fedor.gavrilov Fedor Gavrilov (Inactive)
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: