Ticket #3417 (closed defect: fixed)
undefined value at DHCP/Model/Options.pm
| Reported by: | nexxous@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jacalvo@…) (diff)
trying to get dhcp to work but when trying to start it looks like it starts but does not
Error
Can't call method 'valueByName' on an undefined value
Trace
Can't call method 'valueByName' on an undefined value at /usr/share/perl5/EBox/DHCP/Model/Options.pm line 219.
Attachments
Change History
Changed 19 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 19 months ago by jacalvo@…
- Owner changed from jacalvo@… to jamor@…
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to undefined value at DHCP/Model/Options.pm
comment:2 Changed 19 months ago by jamor@…
Hello Nexxous and thanks for your report,
I need a bit more of information:
- in the DHCP common options tab which value you have assigned to 'default gateway' ?
- in Network->Gateways which configuration do you have set?.
Thanks
comment:3 Changed 19 months ago by jamor@…
Bug confirmed:
if you set up a dhcp with a named gateway and then you remove it from the gateways table, you don;t have a confirmation dialog and the DHCp options remains referencing a inexisten gateway
comment:4 Changed 19 months ago by jamor@…
- Status changed from new to closed
- Resolution set to fixed
comment:5 Changed 19 months ago by jamor@…
This error was caused because the gateway configured in the DHCP options no longer exists. I have implemented code to don't allow to delte gatweways in use by the DHCP module but unitl it is released you must check manually yhat the gateways referenced in DHCP exists
zentyal.log