ITADN

Hangar dependencies point to "null"

#1499OpenNonSwag 创建于 2025-06-30
N
NonSwagcommented
### Observed/problematic behavior When publishing a new version to a project that contains a hangar dependency, the href is always null This happens from both direct upload on hangar and via the hangar-publish plugin The target URL of the dependency looks like https://hangar.papermc.io/user/project/versions/null ![Image](https://github.com/user-attachments/assets/eeb63ab9-c7b8-48ae-9b55-e35430d57ead) ![Image](https://github.com/user-attachments/assets/80114f91-6280-4bae-bcd7-3615be2f57a8) ### Expected behavior Clicking the dependency should point to the actual project ### Steps to reproduce Publish a new version with a hangar dependency Click on the dependency Points to _current-project_/versions/null ### Other The project I noticed this problem first: https://hangar.papermc.io/TheNextLvl/Tweaks/versions/3.3.0 The actual dependency url: https://hangar.papermc.io/TheNextLvl/ServiceIO the problematic url: https://hangar.papermc.io/TheNextLvl/Tweaks/versions/null URLs work fine Editing a dependency to set it to a hangar dep doesn't work either, it always acts as URL ![Image](https://github.com/user-attachments/assets/c280e931-7780-42db-a982-453097e8a4ed)
1 条评论