Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16830

New application wizard: I dont get warned if I have mysql & phpmyadmin embedded, then remove mysql


      If you edit embeddable cartridges for an existing application, you get all sorts of warnings. Ex. have phpmyadmin & mysql embedded, you remove mysql: you get told that you should also remove phpmyadmin since it depends on it.

      When creating a new application and removing cartridges that you have already added ("Add..."-button in 2nd wizard page) you dont get these warnings.

      How to reproduce:

      1. EXEC: Launch application wizard and pick "create new application"
      2. EXEC: on 2nd page: hit "Add" and check phpmyadmin in the upcoming dialog
      3. ASSERT: you get warned that you should add mysql. Confirm it, get mysql added
      4. EXEC: close the dialog and get back to wizard page
      5. ASSERT: mysql and phpmyadmin are listed
      6. EXEC: select mysql and hit "Remove"

      mysql gets removed, leaving invalid phpmyadmin (it depends on mysql, app creation will fail) behind.

      Expected result:
      You should get warned that you should also remove phpmyadmin.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            0 Vote for this issue
            2 Start watching this issue