Project

General

Profile

Actions

Bug #15598

closed

Input validation for duplicate remote gateways does not work when using the duplicate P1 button

Added by dylan mendez 10 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

Steps to duplicate

1) Create a P1
2) Duplicate the P1 created in Step 1 but change the Interface, keep the same Remote Gateway
3) Both P1s are created without any error message to the user however if you try to edit one of the P1s it errors out saying the Remote Gateway is already being used.

If you create both P1s manually it errors out before allowing you to save the second P1, however, if you duplicate it, it shows no error message and it seems like it's working.

It will disable one of the P1s in this case without letting the user know.

Tested on latest 23.08 07-02 development version.


Files

clipboard-202501112133-jfmrr.png (20.3 KB) clipboard-202501112133-jfmrr.png dylan mendez, 01/12/2025 03:33 AM
Actions #1

Updated by Lev Prokofev 10 months ago

I can confirm this behavior exists on 23.01 and above.

Actions #2

Updated by aleksei prokofiev 5 months ago

Tested on 24.03 and can not reproduce. Always I've got error.
"The following input errors were detected:
The remote gateway "x.x.x.x" is already used by phase1"

Actions #3

Updated by dylan mendez 4 months ago

This issue is still present on latest 25.03 development versions.

Actions #4

Updated by Marcos M 4 months ago

  • Subject changed from GUI allows duplicating a P1 with the same IP address as Remote Gateway without any error messages. to Input validation for duplicate remote gateways does not work when using the duplicate P1 button
  • Status changed from New to In Progress
  • Assignee set to Marcos M
  • Target version set to 2.8.0
  • Plus Target Version set to 25.03
  • Affected Version deleted (2.8.x)
Actions #5

Updated by Marcos M 4 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by dylan mendez 3 months ago

Issue resolved after patch.

Actions #7

Updated by dylan mendez 3 months ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF