Browse Source
Merge pull request #10746 from thingsboard/fix_bug_objectIdVerRoot
fix_bug_setSupportedClientObjects_root
pull/10897/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/client/LwM2mClient.java
|
|
|
@ -465,7 +465,7 @@ public class LwM2mClient { |
|
|
|
ver = getDefaultObjectIDVer(); |
|
|
|
} |
|
|
|
this.supportedClientObjects.put(lwM2mPath.getObjectId(), ver); |
|
|
|
} else if (this.supportedClientObjects.get(lwM2mPath.getObjectId()) == null){ |
|
|
|
} else if (lwM2mPath.getObjectId() != null && this.supportedClientObjects.get(lwM2mPath.getObjectId()) == null){ |
|
|
|
this.supportedClientObjects.put(lwM2mPath.getObjectId(), getDefaultObjectIDVer()); |
|
|
|
} |
|
|
|
} |
|
|
|
|