Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2821

Remove Test connection button from create datasource wizard due to incomprehensible behavior caused by new need to reload after datasource is edited/removed

XMLWordPrintable

    • Release Notes

      Workflow of creating new datasource if user wants to use 'Test Connection' button in create new datasource wizard assuming started let's say standalone EAP:

      1. using web console navigate Configuration > Datasources > Non-XA > Add
      2. in wizard choose H2 datasource template > Next
      3. edit names if you want > Next > Next
      4. edit connection url if you want, change username and password to 'sa', click 'Test Connection' - two popups will appear - that you have to reload server and that connection was successful
      5. At this point you can't finish the wizard otherwise you will face 'DuplicateServiceException: Service org.wildfly.data-source.H2DS is already registered' but you have to reload server first and then create the datasource once more! Fortunately at least the wizard remembers what you entered last time in text fields.

      Test connection button seems to create datasource first, test it and than remove it but this prevents user to create it immediately by clicking finish wizard and leads to this very confusing and user not friendly behavior.

              hpehl@redhat.com Harald Pehl
              pjelinek@redhat.com Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: