Project

General

Profile

Actions

Bug #6077

closed

Diag DNS Add Alias reports nothing if alias already exists

Added by Phillip Davis almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Diagnostics
Target version:
Start date:
04/05/2016
Due date:
% Done:

100%

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

Description

1) Resolve something in Diag DNS - e.g. www.inf.org
2) Press "Add Alias" - an alias www_inf_org is created - good.
3) Repeat (1) and (2) again.
Problem: The alias is not updated, and there is no warning message to tell you.

In 2.2.* there was a prompt asking if you want to overwrite the alias - that seems to have not been converted into bootstrap.

Perhaps just display a warning when the alias already exists (easy)
or put back similar behavior to prompt about overwriting the alias?
or ?

Actions #1

Updated by Phillip Davis almost 8 years ago

It seemed easy and reasonable to do https://github.com/pfsense/pfsense/pull/2840
That sets the button text according to what will happen if it is pressed - "Add alias" or "Update alias" - then there is no need to mess about with any extra popups to confirm overwrite of an existing alias.

Actions #2

Updated by Phillip Davis almost 8 years ago

PR has been merged, so status can be set to feedback and someone can test it. You should be able to:
1) Lookup some name.
2) Press "Add Alias"
3) Get a success message that the alias has been created.
4) Lookup the name again.
5) The button now says "Update alias" - press it.
6) Get a success message saying that the alias has been updated.

Actions #3

Updated by Renato Botelho almost 8 years ago

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

PR has been merged

Actions #4

Updated by Jim Thompson almost 8 years ago

  • Assignee set to Renato Botelho
Actions #5

Updated by Renato Botelho almost 8 years ago

  • Status changed from Feedback to Resolved

Works

Actions

Also available in: Atom PDF