From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Re: Aw: Re: Patch for bugzilla #12050, try #2 Date: Tue, 16 Apr 2019 18:40:27 +0200 Message-ID: <379167f3-c2a5-29cd-3781-725643972b94@ipfire.org> In-Reply-To: <743b48c2-8d2b-bdd3-f3f0-ab02604da14a@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3171442115208470517==" List-Id: --===============3171442115208470517== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, Suggestion: ... Fix for Bug #12050: Adding fixed leases with one 'add' click Signed-off-by: BeBiMa Reviewed-by: Matthias Fischer ... Take your pick. ;-)) Best, Matthias On 16.04.2019 18:24, Matthias Fischer wrote: > Hi, >=20 > @Bernhard: > Right now I've got a Core 130 branch up and running - I could do this > patch for you... Would it be ok if i do? >=20 > Best, > Matthias >=20 > On 15.04.2019 20:49, Bernhard Bitsch wrote: >> Hi Michael, >>=20 >> I know the "normal way" to send patches. >> But I do not have a up-to-date git repo at the moment, reasons exist but a= ren't of interest for this special case. >> I have posted the entire modified dhcpi.cgi in the forum for usage. Wanted= just to supply the DevList and Bugzilla with a short and fast solution, hopi= ng not to be to late for the announced emergency update. >>=20 >> If you want, I can post the entire modified dhcp.cgi to the DevList and so= meone of the devs can merge it to the git repository. >>=20 >> - Bernhard >>=20 >> BTW: I'll setup my local repo again. Further patches for this and other pr= oblems and/or developments will obey the guidance from wiki. >>=20 >>> Gesendet: Montag, 15. April 2019 um 13:12 Uhr >>> Von: "Michael Tremer" >>> An: "Bernhard Bitsch" >>> Cc: "IPFire Development" >>> Betreff: Re: Patch for bugzilla #12050, try #2 >>> >>> Hi Bernhard, >>> >>> I am happy that you are taking a look at this bug, but this is not how th= e process works. >>> >>> We have a guide on how to submit patches to the mailing list: >>> >>> https://wiki.ipfire.org/devel/submit-patches >>> >>> There are a thousand reasons why we are doing this as we are doing it. Pl= ease follow it. >>> >>> -Michael >>> >>> > On 14 Apr 2019, at 00:04, Bernhard Bitsch wr= ote: >>> > >>> > Please find appended the solution. >>> > >>> > Short description of the problem: >>> > >>> > After adding a new lease, you are in editing mode. >>> > All fields are set right, but a second click ('update' ) is necessary. >>> > With determining the exact mode 'add/edit' this second click can be avo= ided for new entries ( new MAC/IP combination). >>> > >>> > The patch adds determination of add/edit mode. If the MAC/IP pair exist= s in the list of fixed leases edit mode is selected, add mode is selected els= e. >>> > >>> > Sorry, did not produce the patch from git but by diffing changed file a= nd the core 129 original. >>> > >>> > -Bernhard >>> > >>> > EDIT: produced an error by blind copy & paste, should correct with this= patch. >>> >>> >>=20 >=20 >=20 --===============3171442115208470517==--