Skip to content

Renamed plugin zip packages do not Import #2486

Description

@Miarlka

Current Behavior

If a plugin is Imported which filename has been changed (e.g. automatically when downloading a zip with duplicate name) then that zip package cannot be imported.
The Panel shows either nothing or a "Plugin Imported" Notification, but nothing gets imported and no logs for that failure exist

Expected Behavior

I expect the Import to complete normally or get a error message of the failure including the reason

Steps to Reproduce

  1. Download any Plugin from the Hub and rename the zip package or simply download it again. e.g. modpack-manager.zip -> modpack-manager(1).zip
  2. Import the renamed zip
  3. Import fails silently, nothing get imported

Panel Version

1.0.0-beta35

Wings Version

1.0.0-beta26

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

https://logs.pelican.dev/e6976894 (Wings)
https://logs.pelican.dev/8e353e7c (Panel, From yesterday, there is no log file for today)

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions