Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping wizard confusing when snooping fails #266

Open
haraldmeyer opened this issue Sep 30, 2024 · 6 comments
Open

Mapping wizard confusing when snooping fails #266

haraldmeyer opened this issue Sep 30, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@haraldmeyer
Copy link

On a tenant with MQTT service not available, if snooping is activated but connection to MQTT service fails, the wizard looks like this:

image

@switschel
Copy link
Collaborator

switschel commented Sep 30, 2024

That's on design.. if snooping is enabled nothing else should be define in the wizard.
Is your point that we shouldn't allow it for connectors which are not connected?

@haraldmeyer
Copy link
Author

As discussed, current approach makes sense but better visual indicators that connector is not active.

@haraldmeyer haraldmeyer changed the title Mapping wizard broken when snooping fails Mapping wizard confusing when snooping fails Sep 30, 2024
@switschel
Copy link
Collaborator

@sagIoTPower We could add a new state in the mapping overview if snooping is enabled but connector is not connected.
Also in the snooping wizard we can add a note that a not connected connector is selected which could lead to no receiving any message.

@ck-c8y
Copy link
Collaborator

ck-c8y commented Oct 1, 2024

I reviewed the screensflo.
@haraldmeyer If you don't select a connector a warning is displayed.
There could be cases where you want to define the mapping or snooping first and lated assign a connector.
This is possible in the both steppers.

If no connectors is selected:
Screenshot 2024-10-01 at 18 46 17

a warning is displayed:
Screenshot 2024-10-01 at 18 46 22

ck-c8y added a commit that referenced this issue Oct 1, 2024
@haraldmeyer
Copy link
Author

Did you change something for this? In my case the problem was not that no connector was selected but that a failed connector was selected, which did not produce an error message.

@ck-c8y
Copy link
Collaborator

ck-c8y commented Oct 2, 2024

There could still be reason why you could choose a failed connector.

The connectors can be edited in two ways:

  1. in the first part of the stepper
  2. through the menu entry: Configuration, tab: Connector

So you could choose a failed connector in the stepper and then correct it in Configuration part.

We could exclude choosing failed connectors, but this leads to a stepper and workflow that is very restricted.

@ck-c8y ck-c8y added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants