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 245
    • Issues 245
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 31
    • Merge Requests 31
  • 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
  • #795

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

Exception: Entity is required - User cannot Boost old posts

Summary:

when boosting older articles like I get: Http failure response for https://www.minds.com/api/v2/boost/prepare/795065334607159300?: 500 Internal Server Error

i still have more than 50 000 tokens even not gotting some recently

Steps to reproduce:

goto https://www.minds.com/blog/view/795065334607159296 and try boost as user

Browser and OS

FF under linux mint reported by: @lichtkind

What is the current bug behavior?

User cannot boost older articles.

What is the expected correct behavior?

User should be able to boost older articles.

Relevant logs and/or screenshots

SENTRY https://sentry.io/organizations/minds-inc/issues/1190687997/?project=1538020&query=boost

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Sentry Issue: ENGINE-3T

Exception: Entity is required
  File "/Core/Boost/Checksum.php", line 58, in Minds\Core\Boost\Checksum::generate
    throw new \Exception('Entity is required');
  File "/Controllers/api/v2/boost/prepare.php", line 36, in Minds\Controllers\api\v2\boost\prepare::get
    ->generate();
  File "/Api/Factory.php", line 69, in Minds\Api\Factory::build
    return $handler->$method($pages);
  File "/Controllers/api/api.php", line 76, in Minds\Controllers\api\api::get
    return Factory::build($pages, $this->request, $this->response);
  File "/Core/Router.php", line 137, in Minds\Core\Router::route
    return $handler->$method($pages);
...
(1 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.

Edited 4 days ago by Ben Hayward

Related issues
0

    • Discussion 9
    • Designs 0
    • Ben Hayward @benhayward.ben changed the description 4 days ago

      changed the description

    • Ben Hayward @benhayward.ben added Priority::1 - High Type::Bug scoped labels 4 days ago

      added Priority::1 - High Type::Bug scoped labels

    • Ben Hayward @benhayward.ben changed title from Exception: Entity is required to Exception: Entity is required - User cannot Boost old posts 4 days ago

      changed title from Exception: Entity is required to Exception: Entity is required - User cannot Boost old posts

    • Ben Hayward @benhayward.ben changed milestone to %sprint: Modest Monkey 4 days ago

      changed milestone to %sprint: Modest Monkey

    • Ben Hayward @benhayward.ben assigned to @benhayward.ben 4 days ago

      assigned to @benhayward.ben

    • Ben Hayward @benhayward.ben added Product::Blogs scoped label 4 days ago

      added Product::Blogs scoped label

    • Ben Hayward @benhayward.ben added Product::Boost scoped label and automatically removed Product::Blogs label 4 days ago

      added Product::Boost scoped label and automatically removed Product::Blogs label

    • Ben Hayward @benhayward.ben mentioned in issue minds#773 (closed) 4 days ago

      mentioned in issue minds#773 (closed)

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

      I don't think that the issue is the lint MRs that Sentry is suggesting, having taken a look at the changes.

    • 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
    sprint: Modest Monkey
    Milestone
    sprint: Modest Monkey
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    3
    Labels
    Priority::1 - High Product::Boost Type::Bug
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Ben Hayward
    user avatar
    Mark Harding
    Reference: minds/engine#795