iobroker-community-adapters / ioBroker.mqtt-client

Publish and subscribe ioBroker states to MQTT Brokers
MIT License
11 stars 10 forks source link

Config paramater PORT has wrong jsonConfig type #377

Closed mcm1957 closed 1 month ago

mcm1957 commented 1 month ago

Describe the bug
The configuration parameter 'port'has jsonCOnfig type 'port'. Type port is incorrect as this type is designed to work for listener ports and raises an error if the port number entered ist already used at the host system. As the mqtt-client 'port' config data specifies teh port at the remote system, no check against any ports at the local host should be performed.

To Reproduce
Open UI interface an enter any port which is used at local host (i.e. 8081). There is an error displayed which is incorrect.

Expected behavior
Entering any port should be valid

Screenshots & Logfiles

Versions:

Additional context

mcm1957 commented 1 month ago

fixed at 2.0.1