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 232
    • Issues 232
    • 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
  • #943

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

TypeError: Return value of Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity() mus...

Sentry Issue: ENGINE-EN

TypeError: Return value of Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity() must be an instance of Minds\Entities\User, null returned
  File "/Core/Permissions/Delegates/ChannelRoleCalculator.php", line 72, in Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity
    return $this->entitiesBuilder->single($entity->getOwnerGuid());
  File "/Core/Permissions/Delegates/ChannelRoleCalculator.php", line 43, in Minds\Core\Permissions\Delegates\ChannelRoleCalculator::calculate
    $channel = $this->getChannelForEntity($entity);
  File "/Core/Permissions/Permissions.php", line 101, in Minds\Core\Permissions\Permissions::getRoleForEntity
    $role = $this->channelRoleCalculator->calculate($entity);
  File "/Core/Permissions/Permissions.php", line 79, in Minds\Core\Permissions\Permissions::calculate
    $this->entities[$entity->getGuid()] = $this->getRoleForEntity($entity);
  File "/Core/Permissions/Manager.php", line 64, in Minds\Core\Permissions\Manager::getList
    $permissions->calculate($entities);
...
(7 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

  • Discussion 0
  • Designs
  • Brian Hatchet :speech_balloon: @brianhatchet assigned to @brianhatchet 2 hours ago

    assigned to @brianhatchet

  • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Permission #review 2 hours ago

    changed milestone to %Permission #review

  • Brian Hatchet :speech_balloon: @brianhatchet changed weight to 1 2 hours ago

    changed weight to 1

  • Brian Hatchet :speech_balloon: @brianhatchet changed time estimate to 2h 2 hours ago

    changed time estimate to 2h

  • 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
Assignee
Brian Hatchet's avatar
Brian Hatchet @brianhatchet
Assign to
none
Epic
None
Permission #review
Milestone
Permission #review
Assign milestone
-- / 2h
Time tracking
Estimated: 2h
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
1
Weight
1
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Brian Hatchet
user avatar
Mark Harding
Reference: minds/engine#943