pelican-dev / panel

https://pelican.dev
GNU Affero General Public License v3.0
652 stars 75 forks source link

SSL setting selection does not persist on validation error when creating a node #8

Open iamkubi opened 3 months ago

iamkubi commented 3 months ago

Current Behavior

Create a new node in admin area. Set SSL to use HTTP. Forget to fill out over-allocation boxes and hit submit. Get validation error saying over-allocation settings are missing. Fill them in and hit submit, get validation error saying that fqdn cannot be an IP address while HTTPS is enabled.

This happens because the HTTPS setting resets on validation errors while other fields persist.

Expected Behavior

HTTPS setting selection persists on validation errors

Steps to Reproduce

Above

Panel Version

v3

Wings Version

main

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

https://i.imgur.com/qdQTuAr.png

Is there an existing issue for this?

RMartinOscar commented 4 weeks ago

Should have been fixed with #401