Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #806

Our Privacy Policy has changed, please visit https://about.gitlab.com/privacy to review these changes.

Closed
Open
Opened 3 weeks ago by Nicholas Lewis@javanick
  • Report abuse
  • New issue
Report abuse New issue

(bug): error produced when reporting group for any reason

Groups cannot be reported, there is an error.

image

:update @benhayward.ben

Request is 500ing throwing this into the nginx and php-fpm containers.

nginx_1          | 2019/09/12 17:07:53 [error] 6#6: *3362 FastCGI sent in stderr: "PHP message: Exception #1568308073: Cassandra\Exception\InvalidArgumentException: value must be a long, a double, a numeric string or a Cassandra\Bigint,  given in /var/www/Minds/engine/Core/Reports/UserReports/Repository.php:60
nginx_1          | Stack trace:
nginx_1          | #0 /var/www/Minds/engine/Core/Reports/UserReports/Repository.php(60): Cassandra\Bigint->__construct(NULL)
nginx_1          | #1 /var/www/Minds/engine/Core/Reports/UserReports/Manager.php(96): Minds\Core\Reports\UserReports\Repository->add(Object(Minds\Core\Reports\UserReports\UserReport))
nginx_1          | #2 /var/www/Minds/engine/Controllers/api/v2/moderation/report.php(77): Minds\Core\Reports\UserReports\Manager->add(Object(Minds\Core\Reports\UserReports\UserReport))
nginx_1          | #3 /var/www/Minds/engine/Api/Factory.php(69): Minds\Controllers\api\v2\moderation\report->post(Array)
nginx_1          | #4 /var/www/Minds/engine/Controllers/api/api.php(81): Minds\Api\Factory::build(Array, Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response\JsonResponse))
nginx_1          | #5 /var/www/Minds/engine/Core/Router.php(137): Minds\Controllers\api\" while reading response header from upstream, client: 172.19.0.1, server: _, request: "POST /api/v2/moderation/report HTTP/1.1", upstream: "fastcgi://172.19.0.8:9000", host: "0.0.0.0", referrer: "http://0.0.0.0/groups/profile/1018930846406545413/feed"
elasticsearch_1  | [2019-09-12T17:08:08,994][INFO ][o.e.c.r.a.DiskThresholdMonitor] [HhjXpE-] low disk watermark [85%] exceeded on [Hh

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 2 weeks ago by Ben Hayward

Related issues
0

    Related merge requests
    2
    • Closed 5 days ago
      Sep 24, 2019 1:11pm GMT+0000
      [Sprint/NuancedNumbat](fix) Added in handling for groups when reporting #806
      Closed 5 days ago
      Sep 24, 2019 1:11pm GMT+0000
      !325
    • Merged 14 hours ago
      Sep 29, 2019 9:54am GMT+0000
      [Sprint/NuancedNumbat](fix): Added in function to return original owner guid #806
      Merged 14 hours ago
      Sep 29, 2019 9:54am GMT+0000
      !338
    When these merge requests are accepted, this issue will be closed automatically.
    • Discussion 26
    • Designs
    • Nicholas Lewis @javanick added Priority::0 - Urgent Product::Groups Type::Bug scoped labels 3 weeks ago

      added Priority::0 - Urgent Product::Groups Type::Bug scoped labels

    • Nicholas Lewis @javanick changed title from (bug): error produced when reporting group for spam to (bug): error produced when reporting group for any reason 3 weeks ago

      changed title from (bug): error produced when reporting group for spam to (bug): error produced when reporting group for any reason

    • Nicholas Lewis @javanick changed the description 3 weeks ago

      changed the description

    • Ben Hayward @benhayward.ben changed the description 2 weeks ago

      changed the description

    • Ben Hayward
      Ben Hayward @benhayward.ben · 2 weeks ago
      Developer

      Okay, this should most definitely be in sentry as the endpoint is throwing a 500.

    • Ben Hayward @benhayward.ben changed milestone to %Misc. Q3 2019 2 weeks ago

      changed milestone to %Misc. Q3 2019

    • Ben Hayward @benhayward.ben changed time estimate to 5h 2 weeks ago

      changed time estimate to 5h

    • Ben Hayward @benhayward.ben changed weight to 2 2 weeks ago

      changed weight to 2

    • Ben Hayward @benhayward.ben added Sprint::09/11 - Nuanced Numbat scoped label 2 weeks ago

      added Sprint::09/11 - Nuanced Numbat scoped label

    • Ben Hayward @benhayward.ben assigned to @benhayward.ben 2 weeks ago

      assigned to @benhayward.ben

    • Ben Hayward @benhayward.ben added Status::InProgress scoped label 2 weeks ago

      added Status::InProgress scoped label

    • Ben Hayward @benhayward.ben changed the description 2 weeks ago

      changed the description

    • Ben Hayward @benhayward.ben mentioned in commit ee2df3c9 2 weeks ago

      mentioned in commit ee2df3c9

    • Ben Hayward @benhayward.ben added Status::Review scoped label and automatically removed Status::InProgress label 2 weeks ago

      added Status::Review scoped label and automatically removed Status::InProgress label

    • Ben Hayward @benhayward.ben mentioned in merge request !325 (closed) 2 weeks ago

      mentioned in merge request !325 (closed)

    • Ben Hayward @benhayward.ben added 3h of time spent at 2019-09-12 2 weeks ago

      added 3h of time spent at 2019-09-12

    • Ben Hayward @benhayward.ben added Squad::Yellow scoped label 2 weeks ago

      added Squad::Yellow scoped label

    • Ben Hayward @benhayward.ben added Status::InProgress scoped label and automatically removed Status::Review label 6 days ago

      added Status::InProgress scoped label and automatically removed Status::Review label

    • Mark Harding
      Mark Harding @markeharding · 6 days ago
      Owner

      Sentry issue: ENGINE-3F

    • Ben Hayward @benhayward.ben added Status::Follow Up scoped label and automatically removed Status::InProgress label 6 days ago

      added Status::Follow Up scoped label and automatically removed Status::InProgress label

    • Ben Hayward @benhayward.ben added 4h of time spent at 2019-09-23 6 days ago

      added 4h of time spent at 2019-09-23

    • Ben Hayward @benhayward.ben mentioned in merge request !338 (merged) 6 days ago

      mentioned in merge request !338 (merged)

    • Ben Hayward @benhayward.ben added Priority::1 - High scoped label and automatically removed Priority::0 - Urgent label 5 days ago

      added Priority::1 - High scoped label and automatically removed Priority::0 - Urgent label

    • Mark Harding @markeharding closed via merge request !338 (merged) 14 hours ago

      closed via merge request !338 (merged)

    • Ben Hayward @benhayward.ben mentioned in commit 9fec7059 14 hours ago

      mentioned in commit 9fec7059

    • Mark Harding @markeharding mentioned in commit 2203eec7 14 hours ago

      mentioned in commit 2203eec7

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    Assignee
    Ben Hayward's avatar
    Ben Hayward @benhayward.ben
    Assign to
    none
    Epic
    None
    Misc. Q3 2019
    Milestone
    Misc. Q3 2019
    Assign milestone
    7h / 5h
    Time tracking
    Spent 7h
    Est 5h
    None
    Due date
    None
    6
    Labels
    Priority::1 - High Product::Groups Sprint::09/11 - Nuanced Numbat Squad::Yellow Status::Follow Up Type::Bug
    Assign labels
    • View project labels
    2
    Weight
    2
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    3
    3 participants
    user avatar
    Ben Hayward
    user avatar
    Mark Harding
    user avatar
    Nicholas Lewis
    Reference: minds/engine#806