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 220
    • Issues 220
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • 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
  • #864

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

Closed
Open
Opened 2 days ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

(bug): Wire\Thresholds should handle NULL users (logged-out)

Sentry Issue: ENGINE-1T

Cassandra\Exception\InvalidArgumentException: num must be a long, double, numeric string or a Cassandra\Varint instance,  given
  File "/Core/Wire/Sums.php", line 114, in Cassandra\Varint::__construct
    new \Cassandra\Varint($this->sender_guid),
  File "/Core/Wire/Sums.php", line 114, in Minds\Core\Wire\Sums::getSent
    new \Cassandra\Varint($this->sender_guid),
  File "/Core/Wire/Thresholds.php", line 63, in Minds\Core\Wire\Thresholds::isAllowed
    $amount = $sums->getSent();
  File "/Core/Media/Thumbnails.php", line 26, in Minds\Core\Media\Thumbnails::get
    if (!Di::_()->get('Wire\Thresholds')->isAllowed($loggedInUser, $entity)) {
  File "/Controllers/fs/v1/thumbnail.php", line 36, in Minds\Controllers\fs\v1\thumbnail::get
    $thumbnail = $mediaThumbnails->get($pages[0], $size);
...
(4 additional frame(s) were not displayed)

Please solve the reCAPTCHA

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

Related issues
0

    Related merge requests
    1
    • Merged 8 hours ago
      Sep 26, 2019 7:41am GMT+0000
      [Sprint/NuancedNumbat](fix): Added check if user is supplied, and content is paywalled #864
      Merged 8 hours ago
      Sep 26, 2019 7:41am GMT+0000
      !339
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 18
    • Designs 0
    • Emiliano Balbuena @edgebal assigned to @benhayward.ben 2 days ago

      assigned to @benhayward.ben

    • Emiliano Balbuena @edgebal added Priority::1 - High Product::Wire Squad::Yellow Type::Bug scoped labels 2 days ago

      added Priority::1 - High Product::Wire Squad::Yellow Type::Bug scoped labels

    • Emiliano Balbuena @edgebal changed weight to 2 2 days ago

      changed weight to 2

    • Emiliano Balbuena @edgebal added Sprint::09/25 - Oldfashioned Owl scoped label 2 days ago

      added Sprint::09/25 - Oldfashioned Owl scoped label

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

      looks like a non logge in user accessing paywall

    • Ben Hayward @benhayward.ben added Sprint::09/11 - Nuanced Numbat scoped label and automatically removed Sprint::09/25 - Oldfashioned Owl label 2 days ago

      added Sprint::09/11 - Nuanced Numbat scoped label and automatically removed Sprint::09/25 - Oldfashioned Owl label

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

      added Status::InProgress scoped label

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

      mentioned in merge request !339 (merged)

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

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

    • Ben Hayward @benhayward.ben changed time estimate to 1h 2 days ago

      changed time estimate to 1h

    • Ben Hayward @benhayward.ben added 1h of time spent at 2019-09-24 2 days ago

      added 1h of time spent at 2019-09-24

    • Mark Harding @markeharding closed 1 day ago

      closed

    • Emiliano Balbuena @edgebal reopened 16 hours ago

      reopened

    • Emiliano Balbuena @edgebal added Sprint::09/25 - Oldfashioned Owl scoped label and automatically removed Sprint::09/11 - Nuanced Numbat label 16 hours ago

      added Sprint::09/25 - Oldfashioned Owl scoped label and automatically removed Sprint::09/11 - Nuanced Numbat label

    • Mark Harding
      Mark Harding @markeharding · 16 hours ago
      Owner

      Sentry issue: ENGINE-17

    • Mark Harding @markeharding closed via merge request !339 (merged) 8 hours ago

      closed via merge request !339 (merged)

    • Ben Hayward @benhayward.ben mentioned in commit a648a134 8 hours ago

      mentioned in commit a648a134

    • Mark Harding @markeharding mentioned in commit e97cebe3 8 hours ago

      mentioned in commit e97cebe3

    • 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
    None
    Milestone
    None
    Assign milestone
    1h / 1h
    Time tracking
    Spent 1h
    Est 1h
    None
    Due date
    None
    6
    Labels
    Priority::1 - High Product::Wire Sprint::09/25 - Oldfashioned Owl Squad::Yellow Status::Review 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
    Emiliano Balbuena
    Reference: minds/engine#864