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

Closed
opened 2025-11-13 11:50:32 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @aswinrajeevofficial on GitHub (Mar 4, 2025).

Originally assigned to: @oschwartz10612 on GitHub.

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 GitHub (Mar 4, 2025). Originally assigned to: @oschwartz10612 on GitHub. 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
GiteaMirror added the needs investigatingpotential bug labels 2025-11-13 11:50:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#117