Project

General

Profile

Bug #7151

Interface Group Name hint is misleading

Added by Phillip Davis 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
01/22/2017
Due date:
% Done:

100%

Affected version:
2.4
Affected Architecture:

Description

On the Interface Groups Edit page, Group Name field, it says "No numbers or spaces are allowed. Only characters: a-zA-Z."

But the actual validation allows:
a-zA-Z0-9-_

and there is a check for "Group name cannot end with digit."

What is the real requirement?

Either update the text under the Group Name field, make the validation match what the text says, or some combination.

It looks like the validation was updated in 2.3.3 and 2.4 branches, but the text not changed.

Associated revisions

Revision 351ef3ef
Added by Phillip Davis 4 months ago

Fix #7151 Misleading setHelp for Interface Group Name

Might as well use the same text as is given to the user in the error message already in this code.

History

#1 Updated by Phillip Davis 4 months ago

Assuming the real requirement is what is in the validation code, I updated the front-end GUI text in:
https://github.com/pfsense/pfsense/pull/3428

#2 Updated by Phillip Davis 4 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Malcolm Hussain-Gambles 4 months ago

"Only letters (A-Z), digits (0-9), '-' and '_' are allowed. The group name cannot end with a digit." appears in latest beta - this would seem to fix this

#4 Updated by Renato Botelho 4 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF