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: Unable to track an entity of type 'DeviceModelProperty' because its primary key property 'Id' is null. #1191

Closed
kbeaugrand opened this issue Sep 10, 2022 · 0 comments · Fixed by #1192
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kbeaugrand
Copy link
Member

Expected Behavior

Entities should be saved correctly in the database

Current Behavior

Save failed.

Steps to Reproduce

  1. Create a device model (non-Lora)
  2. Add properties to the model
  3. Click to save

Context (Environment)

Portal version: v3-dev
LoRaWAN Stack version:

Logs

Unable to track an entity of type 'DeviceModelProperty' because its primary key property 'Id' is null. |  

at

AzureIoTHub.Portal.Infrastructure.Repositories.DeviceModelPropertiesRepository+<SavePropertiesForModel>d__2.MoveNext

Additional Information

@kbeaugrand kbeaugrand added the bug Something isn't working label Sep 10, 2022
@kbeaugrand kbeaugrand self-assigned this Sep 10, 2022
@kbeaugrand kbeaugrand added this to the S40 milestone Sep 10, 2022
@kbeaugrand kbeaugrand moved this to :pencil: Todo in IoT Hub Portal Sep 10, 2022
@kbeaugrand kbeaugrand moved this from :pencil: Todo to :construction: In Progress in IoT Hub Portal Sep 10, 2022
kbeaugrand added a commit that referenced this issue Sep 10, 2022
kbeaugrand added a commit that referenced this issue Sep 10, 2022
…ecause its primary key property 'Id' is null. (#1192)
@kbeaugrand kbeaugrand moved this from :construction: In Progress to :rocket: Ready in IoT Hub Portal Sep 10, 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
1 participant