Project

General

Profile

Actions

Bug #3376

closed

Alias Edit does not display correctly

Added by Phillip Davis about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
12/29/2013
Due date:
% Done:

100%

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

Description

I had a 2.1-RELEASE system and GitSync'd to the 2.1 release branch. I was using Alias Bulk Import, but then also realised this problem is with displaying any Network Alias in firewall_aliases_edit.php
I added a test bulk alias, as in screen shot 1
After saving, the alias looks OK in screen shot 2.
But when I try to edit it (screen shot 3) the CIDR shows as 32 for all the entries.
If I edit and then save, all those entries also get saved as "/32".
If I edit and save any of my network aliases they become "/32" unless I manually change them to the required values again before saving.
When editing a URL Table alias, the Update Freq column is left blank (and the config actually has a number of days).
Using any version of firewall_aliases_edit.php after commit https://github.com/pfsense/pfsense/commit/53523624259f97fb7148d80ae581fa09291e0c55 has this problem. Any version prior to that is OK. Something in the new code there that does jQuery stuff has a problem setting/enabling the CIDR/Update Freq column.


Files

BulkAlias-01-Import.png (18.2 KB) BulkAlias-01-Import.png Phillip Davis, 12/29/2013 07:54 AM
BulkAlias-02-Alias-OK.png (8.79 KB) BulkAlias-02-Alias-OK.png Phillip Davis, 12/29/2013 07:54 AM
BulkAlias-03-Alias-Edit-32.png (27.8 KB) BulkAlias-03-Alias-Edit-32.png Phillip Davis, 12/29/2013 07:54 AM
Actions

Also available in: Atom PDF