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 201
    • Issues 201
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 40
    • Merge Requests 40
  • 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
    • Opened 1 day ago
      Sep 24, 2019 1:44pm GMT+0000
      [Sprint/NuancedNumbat](fix): Added check if user is supplied, and content is paywalled #864
      Opened 1 day ago
      Sep 24, 2019 1:44pm GMT+0000
      !339
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 15
    • 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 · 1 day 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 1 day 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 1 day ago

      added Status::InProgress scoped label

    • Ben Hayward @benhayward.ben mentioned in merge request !339 1 day ago

      mentioned in merge request !339

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

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

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

      changed time estimate to 1h

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

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

    • Mark Harding @markeharding closed 14 hours ago

      closed

    • Emiliano Balbuena @edgebal reopened just now

      reopened

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

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

    • Mark Harding
      Mark Harding @markeharding · just now
      Owner

      Sentry issue: ENGINE-17

    • 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