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

Bug: Edge model commands are not saved #1139

Closed
kbeaugrand opened this issue Aug 29, 2022 · 0 comments · Fixed by #1148
Closed

Bug: Edge model commands are not saved #1139

kbeaugrand opened this issue Aug 29, 2022 · 0 comments · Fixed by #1148
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kbeaugrand
Copy link
Member

kbeaugrand commented Aug 29, 2022

Expected Behavior

When defining commands in the edge model modules, these commands should be recoverable once getting back to the model.

Current Behavior

The module commands are not saved.

Steps to Reproduce

  1. Create an edge model
  2. Add a fake module
  3. Create a command for the module
  4. Save the module and the edge model
  5. Refresh your page
  6. Go in the module details

Context (Environment)

Portal version: 2.10
LoRaWAN Stack version: N/A

Logs

Additional Information

@kbeaugrand kbeaugrand added the bug Something isn't working label Aug 29, 2022
@kbeaugrand kbeaugrand added this to the S38 milestone Aug 29, 2022
@kbeaugrand kbeaugrand moved this to :pencil: Todo in IoT Hub Portal Aug 30, 2022
@kbeaugrand kbeaugrand moved this from :pencil: Todo to :construction: In Progress in IoT Hub Portal Aug 31, 2022
JeremyTremblay2 pushed a commit that referenced this issue Aug 31, 2022
JeremyTremblay2 pushed a commit that referenced this issue Sep 1, 2022
JeremyTremblay2 pushed a commit that referenced this issue Sep 1, 2022
JeremyTremblay2 added a commit that referenced this issue Sep 1, 2022
* Fix unsaved commands in the edge module #1139

* Fix the problem of the command deletion #1139

* Fix save and cancel buttons in the command page #1139

* Fix unit tests #1139

* Add unit tests for the save commands method #1139

* Fix unsaved commands in the edge module #1139

* Fix the problem of the command deletion #1139

* Fix save and cancel buttons in the command page #1139

* Fix unit tests #1139

* Add unit tests for the save commands method #1139

* Add unit test for the GetEdgeModuleCommands #1139

* Fix cancel handle #1139

Co-authored-by: Jérémy TREMBLAY <jeremy.tremblay@cgi.com>
@kbeaugrand kbeaugrand moved this from :construction: In Progress to :rocket: Ready in IoT Hub Portal Sep 2, 2022
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
Status: 🚀 Ready
Development

Successfully merging a pull request may close this issue.

2 participants