! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Orage Alarm Procedure command run incorrectly by "Execute" button.
Status:
CLOSED: FIXED

Comments

Description PaulD 2011-07-28 19:09:47 CEST
The Alarm tab "Procedure" text field is run correctly at alarm time.  But, it is run incorrectly when tested with the "Execute" button.

The tool tip for the "Execute" button is "Test this alarm by raising it now."  But, this doesn't properly run the Alarm Procedure component of the alarm.  For example, my procedure command is 
  /bin/mailx -s "subject" <my username> </dev/null
This works fine at the scheduled alarm time, but when I click the "Execute" button, I see this in .xsession-errors:

Heirloom Mail version 12.5 7/5/10.  Type ? for help.
"/var/spool/mail/<my username>": 1 message
>   1 Mail System Internal  Mon Jul 18 10:35  13/572   "DON'T DELETE THIS MES"
Held 1 message in /var/spool/mail/<my username>

Somehow, mailx is being run without any options, which causes it to open my mailbox for editing.  I spent a while trying to figure out what was wrong with the command because the "Execute" button wasn't working, when, in fact, the command is fine.  It's very convenient to be able to test alarms; good feature.  But, this part is broken.
Comment 1 juha editbugs 2011-07-29 08:56:48 CEST
Yes, I can reproduce this.
Comment 2 juha editbugs 2011-07-29 10:38:55 CEST
This is now fixed in 4.8.1.9 available in git.
Indeed parameters wer missing from the test (=execute) procedure alarm.
Comment 3 PaulD 2011-07-29 17:22:43 CEST
Awesome.  Many thanks.
Comment 4 juha editbugs 2011-09-20 21:55:58 CEST
Fix in 4.8.2

Bug #7848

Reported by:
PaulD
Reported on: 2011-07-28
Last modified on: 2011-09-20

People

CC List:
0 users

Version

Attachments

Additional information