Etar-Calendar icon indicating copy to clipboard operation
Etar-Calendar copied to clipboard

Editing events created by Evolution Calendar destroys custom "run a program" alarm.

Open mstyp opened this issue 2 years ago • 1 comments

Evolution Calendar has a handy feature that lets you run programs as reminders. So say you have a "wakeup" calendar event, in addition to getting a notification, you can have the calendar run a custum "wakeup" bash script.

However, when I use etar to edit that event, etar overides that property when the changes sync back over (it does not matter how changes are synced, tested with multiple methods decsync, DAVx5, and even simply uploading an isc file and changing it, then exporting an isc file)

Iwould expect this if I had changed / added / deleted a notification for event in etar, but this happens whenever I change the name, descritption, or most importantly if i change when the event starts/ ends. it functionally means that if I want to change the time when a script fires I have to either go sit down at my computer, or open the event in the webgui of nextcloud (slow AF), when the whole point of this neat feature is that it makes it way easier way to schedule /reschedual scripts (cuz cron sucks).

the relevent isc lines seem to be:

BEGIN:VALARM
X-EVOLUTION-ALARM-UID:[random bunch of letters]
TRIGGER;RELATED=START:PT0S
ACTION:PROCEDURE
ATTACH:/home/user/wakeup
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION 
 property. Removing entire property:
END:VALARM

when I edit the event in etar though, the related isc file gets changed, and the script will not launch in evolution. the new event now shows trhe following in the isc file:

BEGIN:VALARM
TRIGGER:PT0S
ACTION:DISPLAY
DESCRIPTION:[changes to name of event]
X-EVOLUTION-ALARM-UID:[this changes to a different random bunch of letters]
END:VALARM

It turns into a normal notification. I would like it if I could use etar to edit events without having it screw with this awesome feature evoliution has. When I change event start times in nextcloud or in thunderbird, there is no issue so Iam assuming the issue is with etar.

image below shows gui associated with running a program in evolution.

scrnsht

mstyp avatar Jan 17 '22 17:01 mstyp

Hello. Any updates on this bug? Its preventing me from editing fully half of the events on my tablet.

mstyp avatar Apr 04 '22 14:04 mstyp