pelican-dev / panel

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

Create Allocations | Notification Error #452

Closed cesarmr-github closed 3 months ago

cesarmr-github commented 3 months ago

(I know you can't create ports lower than 1024, but it's a bug in the panel that doesn't give the alert.)

Current Behavior

When you on a node try to create a port smaller than 1024, instead of giving an error, it gives a blank screen. And then when you reload the page you get the error, but with a bug in the title.

image When you do F5 -> image

Expected Behavior

That the error with the fixed title instead of a blank screenshot is given.

Steps to Reproduce

Create a port lower than 1024 image

Panel Version

1.0.0-beta6

Wings Version

v1.0.0-beta3

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

notAreYouScared commented 3 months ago

The proposed solution would be to filter the ports and remove them before they're passed to the creation service.