Error when adding multiple targets in one go without changing the port #1746

Closed
opened 2026-04-05 19:40:42 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @aswinrajeevofficial on 3/4/2025

Hi there,

I'm not sure if this has been reported before but there's a minor bug when we add an IP and port in Resources.

If there are multiple IPs, after we save one, the IP field gets cleared, but the port doesn't.

When we enter a new IP and keep the same port (that wasn't cleared), it results in an error (NaN)

Steps to Reproduce:

  1. Create a resource
  2. Enter an IP and Port.
  3. Click Add Target.
  4. The IP clears, the port remains.
  5. Enter a new IP.
  6. Click Add Target.

Expected Result:
IP gets added with port value.

Actual Result:
Error with NaN

*Originally created by @aswinrajeevofficial on 3/4/2025* Hi there, I'm not sure if this has been reported before but there's a minor bug when we add an IP and port in Resources. If there are multiple IPs, after we save one, the IP field gets cleared, but the port doesn't. When we enter a new IP and keep the same port (that wasn't cleared), it results in an error (NaN) Steps to Reproduce: 1. Create a resource 2. Enter an IP and Port. 3. Click Add Target. 4. The IP clears, the port remains. 5. Enter a new IP. 6. Click Add Target. Expected Result: IP gets added with port value. Actual Result: Error with NaN
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1746