Hi Folks,
user of mine get this error, when they save a created meeting. i guess it is (maybe) a problem with assigned rights in the users roles, but i dont find the reason.
calendar & meetings are "active" and the right for meetings are:
create - yes
read - team
edit - own
delete - no
activities - team
Any ideas outta there?
Best regards
user of mine get this error, when they save a created meeting. i guess it is (maybe) a problem with assigned rights in the users roles, but i dont find the reason.
calendar & meetings are "active" and the right for meetings are:
create - yes
read - team
edit - own
delete - no
activities - team
Any ideas outta there?
Best regards
Code:
[2023-04-05 18:06:10] ERROR: Slim Application Error Type: TypeError Code: 0 Message: Espo\Repositories\User::checkBelongsToAnyOfTeams(): Argument #2 ($teamIds) must be of type array, null given, called in /var/www/html/application/Espo/Core/Acl/DefaultAssignmentChecker.php on line 165 File: /var/www/html/application/Espo/Repositories/User.php Line: 174 Trace: #0 /var/www/html/application/Espo/Core/Acl/DefaultAssignmentChecker.php(165): Espo\Repositories\User->checkBelongsToAnyOfTeams('6245a501895f8fa...', NULL) #1 /var/www/html/application/Espo/Core/Acl/DefaultAssignmentChecker.php(80): Espo\Core\Acl\DefaultAssignmentChecker->isPermittedAssignedUser(Object(Espo\Entities\User), Object(Espo\Modules\Crm\Entities\Meeting)) #2 /var/www/html/application/Espo/Core/Acl/AssignmentChecker/AssignmentCheckerManager.php(58): Espo\Core\Acl\DefaultAssignmentChecker->check(Object(Espo\Entities\User), Object(Espo\Modules\Crm\Entities\Meeting)) #3 /var/www/html/application/Espo/Core/Record/Service.php(370): Espo\Core\Acl\AssignmentChecker\AssignmentCheckerManager->check(Object(Espo\Entities\User), Object(Espo\Modules\Crm\Entities\Meeting)) #4 /var/www/html/application/Espo/Modules/Crm/Services/Meeting.php(67): Espo\Core\Record\Service->checkAssignment(Object(Espo\Modules\Crm\Entities\Meeting)) #5 /var/www/html/application/Espo/Core/Record/Service.php(359): Espo\Modules\Crm\Services\Meeting->checkAssignment(Object(Espo\Modules\Crm\Entities\Meeting)) #6 /var/www/html/application/Espo/Core/Record/Service.php(635): Espo\Core\Record\Service->processAssignmentCheck(Object(Espo\Modules\Crm\Entities\Meeting)) #7 /var/www/html/application/Espo/Core/Controllers/RecordBase.php(191): Espo\Core\Record\Service->create(Object(stdClass), Object(Espo\Core\Record\CreateParams)) #8 /var/www/html/application/Espo/Core/Api/ActionProcessor.php(88): Espo\Core\Controllers\RecordBase->postActionCreate(Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #9 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(124): Espo\Core\Api\ActionProcessor->process('Meeting', 'create', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #10 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(95): Espo\Core\Api\RequestProcessor->proceed(Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #11 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(62): Espo\Core\Api\RequestProcessor->processInternal(Object(Espo\Core\Api\Route), Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #12 /var/www/html/application/Espo/Core/Api/Starter.php(86): Espo\Core\Api\RequestProcessor->process(Object(Espo\Core\Api\Route), Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #13 /var/www/html/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): Espo\Core\Api\Starter->Espo\Core\Api\{closure}(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #14 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #15 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #16 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #17 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #18 /var/www/html/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #19 /var/www/html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #20 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #21 /var/www/html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #22 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #23 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #24 /var/www/html/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #25 /var/www/html/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request)) #26 /var/www/html/application/Espo/Core/Api/Starter.php(62): Slim\App->run() #27 /var/www/html/application/Espo/Core/ApplicationRunners/Api.php(45): Espo\Core\Api\Starter->start() #28 /var/www/html/application/Espo/Core/Application/RunnerRunner.php(87): Espo\Core\ApplicationRunners\Api->run() #29 /var/www... [] []
Comment