[Obm] [Fwd: Re: OBM-bug?]

Pierre Baudracco pierre.baudracco@aliacom.fr
Tue, 05 Sep 2006 17:53:43 +0200


This is a multi-part message in MIME format.
--------------090509090909020503010709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


-- 
------------------------------------------------------------------------------
Pierre Baudracco - pierre.baudracco@aliacom.fr
ALIACOM - www.aliacom.fr - Toulouse : 05 62 19 24 91 - Paris : 01 48 25 53 13

--------------090509090909020503010709
Content-Type: message/rfc822;
 name="Re: OBM-bug?"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: OBM-bug?"

Return-Path: <w.de.wilde@Mecon.NL>
Received: from buffle.aliacom.local ([unix socket])
	by buffle (Cyrus v2.1.18-IPv6-Debian-2.1.18-1) with LMTP; Tue, 05 Sep 2006 13:23:18 +0200
X-Sieve: CMU Sieve 2.2
Received: by buffle.aliacom.local (Postfix, from userid 65534)
	id 95A521BD99; Tue,  5 Sep 2006 13:23:18 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 
	buffle.aliacom.local
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=no 
	version=3.1.0
Received: from mail.aliacom.fr (mygale.aliacom.local [192.168.1.254])
	by buffle.aliacom.local (Postfix) with ESMTP id 0A3951BD92
	for <pierre.baudracco@aliacom.fr>; Tue,  5 Sep 2006 13:23:15 +0200 (CEST)
Received: from mail.mecon.nl (62-177-166-170.dsl.bbeyond.nl [62.177.166.170])
	by mail.aliacom.fr (Postfix) with ESMTP id D91607F611
	for <pierre.baudracco@aliacom.fr>; Tue,  5 Sep 2006 13:23:15 +0200 (CEST)
Received: by MAIL-SERVER with Internet Mail Service (5.5.2653.19)
	id <NHGV3SMS>; Tue, 5 Sep 2006 13:23:15 +0200
Message-ID: <91CC782A3E7DD21190E0080009B3BAB9C4A519@MAIL-SERVER>
From: Wouter de Wilde <w.de.wilde@Mecon.NL>
To: "'pierre.baudracco@aliacom.fr'" <pierre.baudracco@aliacom.fr>
Subject: RE: OBM-bug?
Date: Tue, 5 Sep 2006 13:23:14 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6D0DD.AD7F78C0"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C6D0DD.AD7F78C0
Content-Type: text/plain;
	charset="iso-8859-1"

Good news. I found the bug.

In agenda_display.inc in function dis_agenda_week_planning($agenda,
$calendar_entity) the line 
	"$start_week_time = strtotime("+ $cagenda_first_hour
hours",$start_week_day);"
needs to be changed into
	"$start_week_time = strtotime("+$cagenda_first_hour
hours",$start_week_day);"

It's only a difference of one whitespace, but the php-function strtotime
does not accept whitespace between the +sign and the number.

Could you please change this bug in the download and let me know when the
update is ready?

Thank U.

Greetings,
Wouter

>  -----Original Message-----
> From: 	Wouter de Wilde  
> Sent:	dinsdag 5 september 2006 11:37
> To:	'pierre.baudracco@aliacom.fr'; 'obm@aliacom.fr'
> Subject:	OBM-bug?
> 
> Hellow,
> 
> I installed OBM and came upon a bug that does not show in the online
> test-version. When you look at the calendar, it loads the whole year when
> you press on 'week' instead of only showing the week.
> Day, month and year are working fine.
> 
> To show you what output I'm getting I added a printscreen of what is
> showing when pressing 'week'.
> 
> Greetings, << File: obm-bug.TIF >> 
> Wouter De Wilde

------_=_NextPart_001_01C6D0DD.AD7F78C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: OBM-bug?</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Good news. I found =
the bug.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">In =
agenda_display.inc in function dis_agenda_week_planning($agenda, =
$calendar_entity) the line </FONT>
<UL>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">&quot;$start_week_time =3D strtotime(&quot;+ =
$cagenda_first_hour hours&quot;,$start_week_day);&quot;</FONT>
</UL>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">needs to be changed =
into</FONT>
<UL>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">&quot;$start_week_time =3D =
strtotime(&quot;+$cagenda_first_hour =
hours&quot;,$start_week_day);&quot;</FONT>
</P>
</UL>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">It's only a =
difference of one whitespace, but the php-function strtotime does not =
accept whitespace between the +sign and the number.</FONT></P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Could you please =
change this bug in the download and let me know when the update is =
ready?</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Thank U.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Greetings,</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Wouter</FONT>
</P>
<UL>
<P><FONT FACE=3D"Arial"></FONT>&nbsp;<FONT SIZE=3D1 =
FACE=3D"Tahoma">-----Original Message-----</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">From: &nbsp;</FONT></B> <FONT =
SIZE=3D1 FACE=3D"Tahoma">Wouter de Wilde&nbsp; </FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">Sent:&nbsp;&nbsp;</FONT></B> =
<FONT SIZE=3D1 FACE=3D"Tahoma">dinsdag 5 september 2006 11:37</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">'pierre.baudracco@aliacom.fr'; 'obm@aliacom.fr'</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT=
></B> <FONT SIZE=3D1 FACE=3D"Tahoma">OBM-bug?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hellow,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I installed OBM and came upon a bug =
that does not show in the online test-version. When you look at the =
calendar, it loads the whole year when you press on 'week' instead of =
only showing the week.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Day, month and year are working =
fine.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">To show you what output I'm getting I =
added a printscreen of what is showing when pressing 'week'.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Greetings, &lt;&lt; File: obm-bug.TIF =
&gt;&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Wouter De Wilde</FONT>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C6D0DD.AD7F78C0--

--------------090509090909020503010709--