Skip to content

More robust forum webhook handling required #608

@FreneticScribbler

Description

@FreneticScribbler

So - I guess I made an assumption that nobody would remove the rig number from the automatically generated title from the 'add forum thread' button.

Clearly, I should never have relied on that assumption... Need to insert a hidden field with it in, or something (though I suppose this would still be user over writable). At the very least the code needs to more gracefully abort...

event_id = int(body['topic']['title'][1:6]) # find the ID, force convert it to an int to eliminate leading zeros

Whoops.

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