Open MrJoshuaT opened 9 months ago
After much debugging, it seems I created an egg that was for Paper but with optimisations, with this under the Process Management section I used "Copy Settings From" and had Paper selected. When I just copied these values from the source egg to the new egg it didn't produce the error via the API
Can confirm this. Eggs that have set "Copy Settings From" produce an error with the api. The EggTransformer seems to ignore inherits.
I'm also having this issue, /nest/1 always fails with internal server error. Any other id like /nest/2 works fine
Quick note for anyone trying to reproduce this.
Clear the process management config from the child egg otherwise the error wont trigger.
Current Behavior
Querying an endpoint, such as
api/application/servers?include=egg
or/api/application/nests/1/eggs
throws an internal server error via the API.[2023-12-31 18:11:24] production.ERROR: Syntax error {"userId":1,"exception":"[object] (JsonException(code: 4): Syntax error at /var/www/pterodactyl/app/Transformers/Api/Application/EggTransformer.php:44) [stacktrace]
Expected Behavior
Endpoints including egg data should not return an error.
Steps to Reproduce
The default Minecraft nest with id 1, seems to only one causing this. Exporting and importing the eggs to a new nest will not throw this error anymore. If I can do anymore debugging steps myside I can do this.
Panel Version
1.11.5
Wings Version
1.11.8
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?