Skip to content

Cannot create recipient with unsubscribed categories set #89

Description

@cjg89

Trying to create a new recipient with one or more Unsubscribed Categories set returns a ValueError--probably because we try to add the recipient instance to the selected subscription categories within the recipient create/update form's save method:

https://github.com/UCF/PostMaster/blob/master/manager/forms.py#L108-L109

We should either update this logic to better support the setting of unsubscriptions upon recipient creation, or modify the form to only include the Unsubscribed Categories field on update.

Metadata

Metadata

Labels

bugA problem with existing functionality

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions