[Tickets #15075] Copy-Paste-Error in Horde Timezone Parsing

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Sep 13 15:12:20 UTC 2021


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/15075
------------------------------------------------------------------------------
  Ticket           | 15075
  Erstellt Von     | wahnes at uni-koeln.de
  Zusammenfassung  | Copy-Paste-Error in Horde Timezone Parsing
  Warteschlange    | Kronolith
  Version          | FRAMEWORK_5_2
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


wahnes at uni-koeln.de (2021-09-13 15:12) hat geschrieben:

There is a bug in both the current Git master and the stable (5.2)  
branch concerning the parsing of Timezone rules. The error is on line  
276 of /usr/share/pear/Horde/Timezone/Rule.php (when using a PEAR  
install). It seems that the the "elseif" block was inserted using  
copy/paste from the previous block and that the "smaller or equal"  
condition was adjusted only on the "if" line, but not on the "explode"  
line. So this causes trouble with calendar entries that actually make  
use of repetition rules that are valid only for certain days of a month.

I hope that the attached patch fixes the issue completely. I haven't  
done a very thorough check, though.



wahnes at uni-koeln.de (2021-09-13 15:12) hat hochgeladen:  
horde-timezone-rule-for-kronolith.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=horde-timezone-rule-for-kronolith.patch&ticket=15075&fn=%2Fhorde-timezone-rule-for-kronolith.patch





More information about the bugs mailing list