Hello,
When login for the first time as Team Member the following error occurs
2020-01-03 12:59:36.254 ===== TRACE ===== NEW CONNECTED USER 'SN2-IAI'
2020-01-03 13:00:01.317 ** ERROR ** [V8.3.1] ERROR **
2020-01-03 13:00:01.350 ** ERROR ** [V8.3.1] on file 'C:laragonwwwprojeqtormodelUserMain.php' at line (435)
2020-01-03 13:00:01.382 ** ERROR ** [V8.3.1] cause = Undefined index:
2020-01-03 13:00:17.283 ** ERROR ** [V8.3.1] ERROR **
2020-01-03 13:00:17.289 ** ERROR ** [V8.3.1] on file 'C:laragonwwwprojeqtormodelUserMain.php' at line (435)
2020-01-03 13:00:17.298 ** ERROR ** [V8.3.1] cause = Undefined index:
There is no issue when login at the first time as Project Manager.
Regards
JMU
Hello,
we can't reproduce your issue.
Can you send screenshot of this user definition and user profil definition.
Hi,
We cannot reproduce this issue.
It looks like some default configuration is not correctly done.
If it was a first install, please check if errors are logged in projeqtor log file during install process.
What you can do as a workaround :
=> open screen "acces rights" > "access to forms" and save (without any change)
=> open screen "acces rights" > "access to data (project dependant)" and save (without any change)
This may fix your issue.
It it still does not work, try and change code in model/UserMain.php, lines 434 and after from
if ($arObj->idAccessProfile $accessScopeList[$accessProfile->idAccessScopeRead],
'create' => $accessScopeList[$accessProfile->idAccessScopeCreate],
'update' => $accessScopeList[$accessProfile->idAccessScopeUpdate],
'delete' => $accessScopeList[$accessProfile->idAccessScopeDelete],
'report' => $accessScopeList[$accessProfile->idAccessScopeRead], );
if ($accessScopeList[$accessProfile->idAccessScopeRead]=='ALL') {
if (!$obj) $this->_accessControlVisibility='ALL';
}
} else {
to
if ($arObj->idAccessProfileid) {
$scopeArray=array( 'read' => $accessScopeList[$accessProfile->idAccessScopeRead],
'create' => $accessScopeList[$accessProfile->idAccessScopeCreate],
'update' => $accessScopeList[$accessProfile->idAccessScopeUpdate],
'delete' => $accessScopeList[$accessProfile->idAccessScopeDelete],
'report' => $accessScopeList[$accessProfile->idAccessScopeRead], );
if ($accessScopeList[$accessProfile->idAccessScopeRead]=='ALL') {
if (!$obj) $this->_accessControlVisibility='ALL';
}
}
} else {
This is a fix we'll add in next patch
Saving access rights forms did not solve the issue.
Changing code solves it.
Thank you