This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Description
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 behavior
Name attribute value must be compared with the data extension name field instead of CustomerKey field.
Screenshots

Code snippet
auto_suppression_entry = ET_DataExtension_Row()
auto_suppression_entry.auth_stub = client
# auto_suppression_entry.Name = "My Auto Suppression List"
auto_suppression_entry.CustomerKey = "00000000-0000-0000-0000-000000000000"
auto_suppression_entry.props = {
"Email Address": "abc@gexample.com"
}
results = auto_suppression_entry.post()
Environment
- SDK version - 1.3.0
- Python version - 3.7.4
The bug has the severity
- Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.