Describe the bug
The creation of data extension row fails when only Name attribute value is provided in the request payload as the underlying logic in self.getCustomerKey() method to describe and determine the CustomerKey's filter condition is incorrectly matching the Name attribute value with CustomerKey field of data extensions.
To Reproduce
Initialize an ET_DataExtension_Row() object with the following attributes:
Name
props
Then fire post() call.
Expected behaviorName attribute value must be compared with the data extension name field instead of CustomerKey field.
Describe the bug The creation of data extension row fails when only
Name
attribute value is provided in the request payload as the underlying logic inself.getCustomerKey()
method to describe and determine the CustomerKey's filter condition is incorrectly matching theName
attribute value withCustomerKey
field of data extensions.To Reproduce Initialize an ET_DataExtension_Row() object with the following attributes:
post()
call.Expected behavior
Name
attribute value must be compared with the data extension name field instead ofCustomerKey
field.Screenshots![image](https://user-images.githubusercontent.com/648342/74670467-83c0e080-51a9-11ea-8465-7efea3e0f44b.png)
Code snippet
Environment
The bug has the severity