+
Skip to content

Crash on checkout when using Discount code #321

@anadon

Description

@anadon

Multiple discount codes of the same name are able to be entered when configuring, which may be useful for having codes change value over time or to have codes have number of uses over time. However, this currently causes all codes with that same "CodeName" to be returned which causes a error when registering, resulting in the following stacktrace.
registration.models.Discount.MultipleObjectsReturned get() returned more than one Discount -- it returned 2! __ Werkzeug Debugger.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载