jvermillard / leshan

OMA Lightweight M2M java implementation - LWM2M
40 stars 25 forks source link

Resources for standard objects are duplicated when explicitly included in device registration #21

Closed andrau closed 10 years ago

andrau commented 10 years ago

When registering a standard object for a device, say /3 (device), and explicitly including a resource, say /3/0/0 (Manufacturer), the leshan ui will duplicate it as "0 /3/0/0".

Suggested fix /**

in lw-resources-services.js

sbernard31 commented 10 years ago

I can not reproduce it on master. Could you test it with our sandbox : http://54.228.25.31/ and tell us if you still have this problem ?

andrau commented 10 years ago

Hi,

I just did a post using Copper

coap://54.228.25.31/rd?ep=bar ,</3/0>,</3/0/0>,;title=fooobj,</10000/0>;title=fooinst,</10000/0/1>;title=foores

Problem with duplicates seems gone

Regards Andreas

sbernard31 commented 10 years ago

OK I close the bug.