Skip to content
Snippets Groups Projects

[Sprint/SillySheep](fix): Failing spam detection on staging causing issues when uploading media #1193

Merged Ben requested to merge fix/spam-detection-webm-1193 into master

Closes #1193 (closed)

Summary

Following an update to the spam detection system, videos stopped working because the spam detector was expecting an Entity object rather than the Video that our media POST was passing to it. The same applies to an Image object being passed through.

This caused an issue where-in ->getDescription() could not be found - as Video has the description attribute, I added getters and setters into the Video and Image classes.

Testing

Test various upload types, try posting with and without a red flag failing link (e.g. bit.ly).

Edited by Ben

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading