From 13dea84ff7d977f38884089064d27b4a7ab5a686 Mon Sep 17 00:00:00 2001 From: Simon Bernard Date: Fri, 3 Jun 2022 16:30:23 +0200 Subject: [PATCH] Fix UriReference issue in MixedLwM2mLink when rootpath is not null. --- .../core/link/lwm2m/MixedLwM2mLink.java | 16 ++++++- .../leshan/core/link/MixedLwM2mLinkTest.java | 44 +++++++++++++++++++ 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 leshan-core/src/test/java/org/eclipse/leshan/core/link/MixedLwM2mLinkTest.java diff --git a/leshan-core/src/main/java/org/eclipse/leshan/core/link/lwm2m/MixedLwM2mLink.java b/leshan-core/src/main/java/org/eclipse/leshan/core/link/lwm2m/MixedLwM2mLink.java index 6f3abb60e1..bd68b7d714 100644 --- a/leshan-core/src/main/java/org/eclipse/leshan/core/link/lwm2m/MixedLwM2mLink.java +++ b/leshan-core/src/main/java/org/eclipse/leshan/core/link/lwm2m/MixedLwM2mLink.java @@ -43,15 +43,27 @@ public MixedLwM2mLink(String rootPath, LwM2mPath path, Collection