Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 287
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #943

Closed
Open
Opened 1 month ago by Mark Harding@markeharding
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)

Related issues
0

  • Discussion 0
  • Designs 0
  • Brian Hatchet :speech_balloon: @brianhatchet assigned to @brianhatchet 1 month ago

    assigned to @brianhatchet

  • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Permission #review 1 month ago

    changed milestone to %Permission #review

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

    changed weight to 1

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

    changed time estimate to 2h

  • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::10/09 - Pink Panther Squad::Green scoped labels 1 month ago

    added scoped labels

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::InProgress scoped label 1 month ago

    added scoped label

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Review scoped label and automatically removed Status::InProgress label 1 month ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet closed 57 minutes ago

    closed

  • Brian Hatchet :speech_balloon: @brianhatchet removed Status::Review label 57 minutes ago

    removed label

Please register or sign in to reply
Assignee
Brian Hatchet's avatar
Brian Hatchet @brianhatchet
none
Epic
None
Permission #review
Milestone
Permission #review
Time tracking
Estimated: 2h
None
Due date
None
2
Labels
Sprint::10/09 - Pink Panther Squad::Green
1
Weight
1
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Brian Hatchet
user avatar
Mark Harding
Reference: minds/engine#943