Skip to content

Reviews of deleted submissions exposed via API #689

@Nakaner

Description

@Nakaner

Current Behavior

/reviews API endpoint returns reviews of deleted submissions. Seems to be another side-effect of #133.

Expected Behavior

Their rendered page in the orga area is not available any more (404 returned). Therefore they should be excluded from API responses.

Steps to Reproduce

  1. Create a submission
  2. Rate it
  3. Delete it
  4. call API

Your Environment

pretalx.com, State of the Map 2019

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