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

Nodes think they are running in a device assigned to an application but the device is actually owned by an instance #64

Closed
Steve-Mcl opened this issue Mar 15, 2024 · 1 comment · Fixed by #65
Assignees
Labels
bug Something isn't working size:XS - 1 Sizing estimation point

Comments

@Steve-Mcl
Copy link
Contributor

Current Behavior

Not sure how, but I have managed to get the projects nodes to present as though they are application owned when in fact the device is instance owned.

I have not been able to re-create this but i did see it.

The Project In node had greyed out the "Receive messages sent to this instance" options and applied the tooltip "Option not supported when a device is assigned to an application" - which are correct for an application owned device.

Expected Behavior

node should corretly identify the device owner type and apply options expected

Steps To Reproduce

cannot re-produce but the effect can be witnessed if the settings.json contains both applicationID and projectID values in the flowforge object.

Environment

  • FlowFuse version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:
@Steve-Mcl Steve-Mcl added size:XS - 1 Sizing estimation point needs-triage Needs looking at to decide what to do labels Mar 15, 2024
@Steve-Mcl Steve-Mcl linked a pull request Mar 15, 2024 that will close this issue
11 tasks
@Steve-Mcl Steve-Mcl added bug Something isn't working and removed needs-triage Needs looking at to decide what to do labels Mar 15, 2024
@Steve-Mcl Steve-Mcl moved this to Verify in 🛠 Development Mar 15, 2024
@Steve-Mcl Steve-Mcl self-assigned this Mar 15, 2024
@Steve-Mcl
Copy link
Contributor Author

On staging, setup a device, switched it between app owned and project owned. No issues seen in the project nodes

@Steve-Mcl Steve-Mcl moved this from Needs Verification to Verified in 🛠 Development Mar 20, 2024
@knolleary knolleary moved this from Verified to Done in 🛠 Development Mar 22, 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 size:XS - 1 Sizing estimation point
Projects
Status: Closed / Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant