Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当插件的 JAR 包不存在时无法卸载插件 #6072

Closed
guqing opened this issue Jun 12, 2024 · 1 comment · Fixed by #6334
Closed

当插件的 JAR 包不存在时无法卸载插件 #6072

guqing opened this issue Jun 12, 2024 · 1 comment · Fixed by #6334
Assignees
Labels
area/core Issues or PRs related to the Halo Core area/plugin Issues or PRs related to the Plugin Provider kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@guqing
Copy link
Member

guqing commented Jun 12, 2024

使用的哪种方式运行?

Docker

发生了什么?

如题所述,抛出如下异常

4321718182893_ pic

附加信息

/kind bug
/area core
/area plugin
/milestone 2.17.x

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 12, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.17.x milestone Jun 12, 2024
@f2c-ci-robot f2c-ci-robot bot added area/core Issues or PRs related to the Halo Core area/plugin Issues or PRs related to the Plugin Provider labels Jun 12, 2024
@ruibaby ruibaby modified the milestones: 2.17.x, 2.18.x Jul 4, 2024
@JohnNiang
Copy link
Member

/assign

@JohnNiang JohnNiang modified the milestones: 2.18.x, 2.17.x Jul 17, 2024
@f2c-ci-robot f2c-ci-robot bot closed this as completed in eae83ae Jul 24, 2024
JohnNiang added a commit to JohnNiang/halo that referenced this issue Jul 25, 2024
…o-dev#6334)

/kind bug
/area core
/area plugin
/milestone 2.18.x

This PR checks if the plugin is already unloaded while getting dependents to fix the problem that plugins without jar file may not be deleted or not be enabled or disabled.

Fixes halo-dev#6072

1. Try to move plugins folder to another folder
2. Restart Halo
3. Try to change state of plugins or delete plugins directly
4. See the result

```release-note
修复在没有插件文件的情况下可能无法删除插件的问题
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core area/plugin Issues or PRs related to the Plugin Provider kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants