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 195
    • Issues 195
    • 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
  • #864

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

Closed
Open
Opened 1 day 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
    • Opened 20 hours ago
      Sep 24, 2019 1:44pm GMT+0000
      [Sprint/NuancedNumbat](fix): Added check if user is supplied, and content is paywalled #864
      Opened 20 hours ago
      Sep 24, 2019 1:44pm GMT+0000
      !339
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 12
    • Designs 0
    • Emiliano Balbuena @edgebal assigned to @benhayward.ben 1 day ago

      assigned to @benhayward.ben

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

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

    • Emiliano Balbuena @edgebal changed weight to 2 1 day ago

      changed weight to 2

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

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

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

      added Status::InProgress scoped label

    • Ben Hayward @benhayward.ben mentioned in merge request !339 20 hours ago

      mentioned in merge request !339

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

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

    • Ben Hayward @benhayward.ben changed time estimate to 1h 20 hours ago

      changed time estimate to 1h

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

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

    • Mark Harding @markeharding closed 21 minutes ago

      closed

    • 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/11 - Nuanced Numbat 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