Thanks for reporting this. It is a bug for supplying multiple test
values this way when the underlying property is a sequence type.
I will generate an issue and post the patch.
Cheers,
Jim
On 6/1/23 5:28 AM, dwp_at_md1tech.co.uk wrote:
>
> I tried setting the different values of |frequencies| the test XML
> like this:
>
> |<Case>
> <Property name='frequencies' values='{1}'/>
> </Case>
> <Case>
> <Property name='frequencies' values='{1, 2, 3}'/>
> </Case>
> <Case>
> <Property name='frequencies' values='{10, 10, 10, 10}'/>
> </Case>|
>
> But still got the same error:
>
> |ocpigen: ../gen/runtime/base/src/BaseValue.cc:153: OCPI::Base::Value&
> OCPI::Base::Value::operator=(const OCPI::Base::Value&): Assertion
> `!v.m_parent' failed.|
>
> I also tried without the curly braces but got a different error:
>
> |in value "1" (length of prop value is 1 chars): recursize type needs
> to be enclosed in {}|
>
>
> _______________________________________________
> discuss mailing list --discuss_at_lists.opencpi.org
> To unsubscribe send an email todiscuss-leave_at_lists.opencpi.org
Received on Tue Jun 06 2023 - 21:30:23 CDT