You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new entity, it is possible to call the method set with an invalid value for a navigation property because the method set does not verify multiplicity of the corresponding navigation property relation ship. To put it simple, it is possible to assign a list to a navigation property which is supposed to be an entity.
Change test entity from Car to Customer, since car can only have one navigation property.
A check for correct multiplicity is needed As described in SAP#117.
Change test entity from Car to Customer, since car can only have one navigation property.
A check for correct multiplicity is needed As described in SAP#117.
Change test entity from Car to Customer, since car can only have one
navigation property.
A check for correct multiplicity is needed As described in #117.
When creating a new entity, it is possible to call the method
set
with an invalid value for a navigation property because the method set does not verify multiplicity of the corresponding navigation property relation ship. To put it simple, it is possible to assign a list to a navigation property which is supposed to be an entity.More explicitly, we need to add a check for multiplicity before the following line:
https://github.com/SAP/python-pyodata/blob/master/pyodata/v2/service.py#L489
The text was updated successfully, but these errors were encountered: