public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Tom Rymes <trymes@rymes.com>
To: development@lists.ipfire.org
Subject: Re: Aw: Re: [PATCH] Fix for Bug #12050: Adding fixed leases with one 'add' click
Date: Mon, 20 May 2019 12:03:32 -0400	[thread overview]
Message-ID: <f3654bfb-bf6c-3d18-50b9-17e7fa2da554@rymes.com> (raw)
In-Reply-To: <trinity-9cd419ac-d2fc-44d4-9f46-a1824e38ce16-1558362076362@3c-app-gmx-bs70>

[-- Attachment #1: Type: text/plain, Size: 2370 bytes --]

On 05/20/2019 10:21 AM, Bernhard Bitsch wrote:

[snip]

>>>> If you plan to change any behaviour of the CGI file, that is a matter open for discussion first and then work should start.
>>>>
>>>
>>> When is this discussed? I made a suggestion of changes of behaviour; yet:
>>> - Adding a new fixed lease adds this directly, without having to click a second time.
>>
>> That is already the case.
> 
> That's not true! Adding a new entry must retain the existing entries, what isn't the case ( see postings in forum ).

I must chime in here that clicking the button add a dynamic lease 
shouldn't require a second click, IMHO. Add the dynamic lease as fixed, 
then present the user the option to change things, such as name, 
address, etc. after it has already been added.

>>> - Adding a dynamic lease to the fixed leases should work in two steps: first the data from dynamic leases is copied to the edit fields, user can change and complete the definition and adds this by clicking "add". A check for disjunction of sets of fixed and dynamic leases would be possible.
>>
>> If you add it from the DHCP leases list, the static lease is meant to be added right away, but you can still edit it to give it a better name or so. This what currently seems to be broken.
>>
> 
> Maybe this the intention of the actual implementation. The misfunction lays in the bug, indeed.
> But my suggestion goes one step further. It isn't desirable to mix up static and dynamic leases. This is based on the mechanics, how dynamic leases are found by dhcpd ( see man page ). IMHO, the problem with this is not shining up immediately, but some times later ( with no modifications meantime ). A two step process with check if the two sets are disjoint avoids this problem.

[snip]

While I would agree that keeping the dynamic and fixed leases physically 
distinct is a good goal, that is a separate change from the newly 
introduced bug, and should be handled separately. IPFire has allowed the 
user to add fixed leases that overlap with the dynamic address scope for 
as long as I have used the product, and it's not really a high-priority 
issue IMHO, so mixing it up with the fix for the new bug seems like a 
bad idea to me.

Here is the bug I opened on that subject a number of years back: 
https://bugzilla.ipfire.org/show_bug.cgi?id=10629

Tom

  reply	other threads:[~2019-05-20 16:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16 16:41 Matthias Fischer
2019-04-17  9:31 ` Michael Tremer
2019-04-17 21:49   ` Aw: " Bernhard Bitsch
2019-04-18  9:50     ` Michael Tremer
2019-04-18 11:23       ` Aw: " Bernhard Bitsch
2019-04-18 11:42         ` Michael Tremer
2019-04-18 12:54           ` Aw: " Bernhard Bitsch
2019-04-18 12:59             ` Bernhard Bitsch
2019-04-18 14:47             ` [PATCH] " Michael Tremer
2019-04-18 20:37               ` Aw: " Bernhard Bitsch
2019-04-20 16:35                 ` Michael Tremer
2019-05-17 10:58                   ` Aw: " Bernhard Bitsch
2019-05-17 19:18                     ` Michael Tremer
2019-05-17 22:21                       ` Aw: " Bernhard Bitsch
2019-05-17 22:27                         ` Michael Tremer
2019-05-18 18:28                           ` Aw: " Bernhard Bitsch
2019-05-20  9:37                             ` Michael Tremer
2019-05-20 14:21                               ` Aw: " Bernhard Bitsch
2019-05-20 16:03                                 ` Tom Rymes [this message]
2019-05-20 16:42                                   ` Aw: Re: Re: [PATCH] Fix for Bug #12050: Adding fixed leases with one 'add' click / Bug #10629 Bernhard Bitsch
2019-05-20 16:49                                     ` Tom Rymes
2019-05-20 19:13                                       ` Aw: " Bernhard Bitsch
2019-05-20 20:27                                 ` Aw: Re: [PATCH] Fix for Bug #12050: Adding fixed leases with one 'add' click Bernhard Bitsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3654bfb-bf6c-3d18-50b9-17e7fa2da554@rymes.com \
    --to=trymes@rymes.com \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox