nvdweem / intellij-sqlserver-backup-restore

Plugin for Intellij that allows backing up and restoring databases in SQL Server
MIT License
14 stars 3 forks source link

Deprecated Warning During Restore #29

Closed Cuneytt closed 6 months ago

Cuneytt commented 7 months ago

Using IntelliJ IDEA 2024.1 (Ultimate Edition) Build #IU-241.14494.240, built on March 28, 2024 Getting the following warning during Restore

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'dev.niels.sqlbackuprestore.action.Group' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: dev.niels.SQLServerBackupAndRestore]
    at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
    at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
    at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
    at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
    at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:199)
nvdweem commented 7 months ago

Apparently I fixed this a few months ago but didn't release yet because there was a bug in Idea/DataGrip that prevented queries from being executed. I haven't seen the warning popup for a while though 🤔.

I've just released v1.0.5 that should fix this. You can download it from the releases and install from zip or wait a few days for the new version to be accepted and update automatically.