Skip to content

Deleted user sync #35

@Rowbotronics

Description

@Rowbotronics

When a user is deleted in WA, push/pull in MCP will fail with error:

Traceback (most recent call last):
File "./mcp/main/tasks.py", line 31, in run_as_task
func(*args, **kwargs)
File "./mcp/wildapricot/functions.py", line 210, in push_users
if not WildapricotUser.query.filter_by(wildapricot_user_id=wa_contact['Id']):
TypeError: 'bool' object is not subscriptable

This situation should be handled gracefully by logging the exception and flagging the account somehow.

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