codenvy-legacy / plugin-datasource

This repository is deprecated. Visit https://github.com/codenvy/che-plugins
Eclipse Public License 1.0
2 stars 10 forks source link

Refresh button in datasources explorer does not refresh database schema & properties panels #208

Closed stour closed 10 years ago

stour commented 10 years ago

Reproduce :

stour commented 10 years ago

Method DatasourceExplorerPartPresenter.onDatabaseInfoError(...) never seems to be reached when datasource fetching fails while event seems to be correctly dispatched (see https://github.com/codenvy/plugin-datasource/blob/b358a52c0a3a12acd78fcd446dac25ee3828104d/codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/service/FetchMetadataServiceImpl.java#L129).

DatasourceExplorerPartPresenter.onDatabaseInfoReceived(...) is yet reached when fetching success and event dispatched (see https://github.com/codenvy/plugin-datasource/blob/b358a52c0a3a12acd78fcd446dac25ee3828104d/codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/service/FetchMetadataServiceImpl.java#L113).