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 36
    • Merge Requests 36
  • 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

Closed
Open
Opened 2 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 1 week ago by Ben Hayward

Related issues
0

    Related merge requests
    1
    • Opened 1 week ago
      Sep 12, 2019 8:02pm GMT+0000
      [Sprint/NuancedNumbat](fix) Added in handling for groups when reporting #806
      Opened 1 week ago
      Sep 12, 2019 8:02pm GMT+0000
      !325
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 19
    • Designs 0
    • Nicholas Lewis @javanick added Priority::0 - Urgent Product::Groups Type::Bug scoped labels 2 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 2 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 2 weeks ago

      changed the description

    • Ben Hayward @benhayward.ben changed the description 1 week ago

      changed the description

    • Ben Hayward
      Ben Hayward @benhayward.ben · 1 week 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 1 week ago

      changed milestone to %Misc. Q3 2019

    • Ben Hayward @benhayward.ben changed time estimate to 5h 1 week ago

      changed time estimate to 5h

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

      changed weight to 2

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

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

    • Ben Hayward @benhayward.ben assigned to @benhayward.ben 1 week ago

      assigned to @benhayward.ben

    • Ben Hayward @benhayward.ben added Status::InProgress scoped label 1 week ago

      added Status::InProgress scoped label

    • Ben Hayward @benhayward.ben changed the description 1 week ago

      changed the description

    • Ben Hayward @benhayward.ben mentioned in commit ee2df3c9 1 week ago

      mentioned in commit ee2df3c9

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

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

    • Ben Hayward @benhayward.ben mentioned in merge request !325 1 week ago

      mentioned in merge request !325

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

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

    • Ben Hayward @benhayward.ben added Squad::Yellow scoped label 1 week ago

      added Squad::Yellow scoped label

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

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

    • Mark Harding
      Mark Harding @markeharding · just now
      Owner

      Sentry issue: ENGINE-3F

    • 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

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    Assignee
    Ben Hayward's avatar
    Ben Hayward @benhayward.ben
    Assign to
    none
    Epic
    None
    Misc. Q3 2019
    Milestone
    Misc. Q3 2019
    Assign milestone
    3h / 5h
    Time tracking
    Spent 3h
    Est 5h
    None
    Due date
    None
    6
    Labels
    Priority::0 - Urgent Product::Groups Sprint::09/11 - Nuanced Numbat Squad::Yellow Status::InProgress 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