Closed samuelbles07 closed 1 year ago
@samuelbles07 Good catch! And thanks a lot for providing a solution.
I applied it with a slight modification ( ... and ty != eachAcod.get('ty'):
) and added two new test cases. I will release it in a few minutes
Hi,
Currently i try to create ACP with ACOD like sample below
As far as i know, in specification
ty
field is an int, but it throw error when i want to discover the resource that use the ACP.Then i check https://github.com/ankraft/ACME-oneM2M-CSE/blob/master/acme/resources/ACP.py#L183, that line try to iterate
ty
value when it suppose to compare. I change that line and now it works fine.ACME CSE using release version
0.11.2