You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while moving event on Calendar (graphic mode)
🔥 How to trigger the error
Move the event from one day to another in graphic mode
👎 Actual Behavior
While moving calendar events to another date/time in graphic mode with mouse drag is show's the following error:
"You do not have permission to modify Calendar entries".
✍️ Resolution process
I saw a post that recommended to change line 207 of file "modules/com_vtiger_workflow/WorkFlow.php" from:
if ('' == $this->test) {
return true;
}
return $this->conditionStrategy->evaluate($this->test, $recordModel);
Hey, thanks for your issue, although you're describing completely different topics here.
Your calendar problem may be due to two things:
lack of permissions to edit this record
something went wrong when you tried to edit the record
If the logs apply to your case, you've incorrectly added your own workflow action to the calendar module. //"fieldname":"subject","operation":"does not contain","value":"".
You've set a condition that the subject field should not contain an empty value, which doesn't make sense and is the cause of the error here. There are other operators for empty values.
Nevertheless, we'll secure it in the next version of the YF system, thanks ;)
Either way, the graphical view of the calendar has nothing to do with it ;)
PS
Revert your changes from the "modules/com_vtiger_workflow/WorkFlow.php" file because you've just killed all the workflow actions ;)
It was really a workflow i created that was validating if the field "subject" was empty that caused this error.
Just changed "empty" to "=" and it solved the problem.
It was really a workflow i created that was validating if the field "subject" was empty that caused this error.
Just changed "empty" to "=" and it solved the problem.
🐞 bug report
Error while moving event on Calendar (graphic mode)
🔥 How to trigger the error
Move the event from one day to another in graphic mode
👎 Actual Behavior
While moving calendar events to another date/time in graphic mode with mouse drag is show's the following error:
"You do not have permission to modify Calendar entries".
✍️ Resolution process
I saw a post that recommended to change line 207 of file "modules/com_vtiger_workflow/WorkFlow.php" from:
if ('' == $this->test) {
return true;
}
return $this->conditionStrategy->evaluate($this->test, $recordModel);
to
return '' == $this->test ? true : false;
return $this->conditionStrategy->evaluate($this->test, $recordModel);
It solved the calendar problem but it caused workflows to stop working.
So it's a non-solution.
The text was updated successfully, but these errors were encountered: