6.0.0-alpha14
7/1/25

[#13890] Vaction Number of day should be set to an int value, but it is not set.
Summary Vaction Number of day should be set to an int value, but it is not set.
Queue Ingo
Queue Version 3.2.4
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester pouyan.azari (at) uni-wuerzburg (dot) de
Created 03/02/2015 (3774 days ago)
Due
Updated 03/02/2015 (3774 days ago)
Assigned
Resolved 03/02/2015 (3774 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/02/2015 01:30:57 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit e57d84520ad050b707596213757d3faa8586ab34
Author: Jan Schneider <jan@horde.org>
Date:   Mon Mar 2 14:23:12 2015 +0100

     [jan] Fix Sieve error if days of vacation is unset (Bug #13890).

     Conflicts:
             ingo/docs/CHANGES
             ingo/package.xml

  ingo/docs/CHANGES                         |    2 ++
  ingo/lib/Script/Sieve/Action/Vacation.php |    5 ++++-
  ingo/package.xml                          |   16 +++++++++++++++-
  3 files changed, 21 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/e57d84520ad050b707596213757d3faa8586ab34
03/02/2015 01:24:22 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
03/02/2015 01:23:48 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 266b370189a40a4a57b65ff99520800222640666
Author: Jan Schneider <jan@horde.org>
Date:   Mon Mar 2 14:23:12 2015 +0100

     [jan] Fix Sieve error if days of vacation is unset (Bug #13890).

  ingo/docs/CHANGES                         |    1 +
  ingo/lib/Script/Sieve/Action/Vacation.php |    5 ++++-
  ingo/package.xml                          |    4 ++--
  3 files changed, 7 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/266b370189a40a4a57b65ff99520800222640666
03/02/2015 10:56:40 AM pouyan (dot) azari (at) uni-wuerzburg (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Vaction Number of day should be set to an int value, but it is not set.
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
in /ingo/lib/Form/Vacation.php :

$v = $this->addVariable(_("Number of days between vacation replies:"), 
'days', 'int', false);
must be set to:

$v = $this->addVariable(_("Number of days between vacation replies:"), 
'days', 'int', true);

without this the Sieve Server reports error:

script errors: line 6: syntax error, unexpected ADDRESSES, expecting NUMBER
Number of days: EMPTY

Saved Queries