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

[BUG] Data extension row creation fails when just Name is provided #119

@vijayprakashpj

Description

@vijayprakashpj

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
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy