Skip to content

Updating sponsor results in duplicate sponsor #2500

@carvingpumpkins

Description

@carvingpumpkins

Description of the issue 📄

I created a new sponsor and then made 2 separate updates to the details - that is, I hit "Save changes" after each update. This has resulted in 3 of the same sponsor being created. However, it's worth noting that, while searching for the sponsor from /admin/sponsors returns 3 results, only the sponsor with the ID 1541 actually shows a sponsor page when clicked on. The other 2 results (1539 & 1540) return an HTTP 500 response. So it would seem that only the sponsor created from the last update is valid (assuming the IDs are incremental).

Screenshots 📷

Image Image

Steps to fix 🛠

To do 📋

  • Claim this issue (comment below, or assign yourself if you are part of the codebar org)
  • Fork and clone the repository
  • Update the relevant files. Follow the steps to fix section in this issue.
  • Commit your changes as one commit. Use the title of this issue as your commit message
  • Submit a pull request
  • Mention this issue in the PR description by including it's number
  • Have your pull request reviewed & merged by a codebar team member

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions