Skip to content

Un-Discoverable plugin issue #807

@systemik

Description

@systemik

Is there an existing issue for this?

Current Behavior

It seems that devices created by Un-Discoverable plugin are set with a MAC with the same name as the device.

When we then try to assign a device to such dummy device, it fails and the error message states :

[25-Sep-2024 15:15:15 Europe/Berlin] PHP Fatal error: Uncaught Exception: Invalid mac address in /app/front/php/server/devices.php:841

If we manually set a dummy mac address for the dummy device then we can properly assign devices to it.

Expected Behavior

This may be fixed by either creating a dummy mac for the dummy device or by changing the assign code to avoid checking for properly formatted MAC addresses when the device is dummy.

Steps To Reproduce

Create dummy device and try to assign a device to it in the network page.

What branch are you running?

Production

app.log

PHP Fatal error: Uncaught Exception: Invalid mac address in /app/front/php/server/devices.php:841
Stack trace:
#0 /app/front/php/server/devices.php(46): updateNetworkLeaf()
#1 {main}
thrown in /app/front/php/server/devices.php on line 841

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workingnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions