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

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

    Details

    • Steps to Reproduce:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fedor.gavrilov Fedor Gavrilov
                  Reporter:
                  olukas Ondrej Lukas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: