EGW 1.6, evolution and GroupDAV, some trouble...

View: New views
4 Messages — Rating Filter:   Alert me  

EGW 1.6, evolution and GroupDAV, some trouble...

by Marco Gaiarin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I've received no answer, i try to repost...

[ This is a repost of the following article:                               ]
[ From: Marco Gaiarin <marcogaio@...>                                ]
[ Subject: EGW 1.6, evolution and GroupDAV, some trouble...                ]
[ Newsgroups: lists.egw.users                                              ]
[ Message-ID: <sfk8f6-7d5.ln1@...>                    ]


I've just upgraded my 'home' egw installation, and tried to revamp our
family calendar.

My egw installation is really simple, on a debian etch box, using only
an SSL-enabled virtualhost on apache2/php5.

I've tried to switch from syncevolution (that works, but sometime break
something and when break, it need many work to fix it...) to GroupDAV,
with some trouble.

1) in addessbook i've defined an addressbook of type WebDAV, with an
 URL of:

        https://myserver/groupdav.php/addressbook/

in apache logs i found a bounch of:

        aldo - anna [30/May/2009:23:02:44 +0200] "PROPFIND /groupdav.php/addressbook/%20/ HTTP/1.1" 207 87
        aldo - anna [30/May/2009:23:02:45 +0200] "PROPFIND /groupdav.php/addressbook/%20/ HTTP/1.1" 207 87

and in error logs:

        [Sat May 30 23:01:56 2009] [error] [client 192.168.1.16] Unrecogniced GroupDAV client: HTTP_USER_AGENT='Evolution/2.2
6.1'!
        [Sat May 30 23:02:45 2009] [error] [client 192.168.1.16] PHP Warning: Invalid argument supplied for foreach() in /usr
/share/egroupware/egw-pear/HTTP/WebDAV/Server.php on line 590
        [Sat May 30 23:02:45 2009] [error] [client 192.168.1.16] PHP Warning: Invalid argument supplied for foreach() in /usr
/share/egroupware/egw-pear/HTTP/WebDAV/Server.php on line 700

and addressbook are empty (in egw the anna's addressbook are not) and i
cannot add new entry.


2) calendard works, i can see all appointments, i can add one, i can
 alter an appointment but i cannot delete one. If i try to delete i
can see on access log:

        aldo - anna [30/May/2009:23:09:22 +0200] "DELETE /groupdav.php/calendar/5669.ics HTTP/1.1" 412 -

no error at all in error log; note that on both case Evolution return a
unmeaningful generic error.

I've triead to delete the appointment in egroupware with user anna, and
works flawlessy (and clearly was deleted also in evolution).


Another note, and i don't know if this is an evolution or egw bug: i've
tried to setup two CalDAV calendars to the same server (with two user,
anna and gaio), and i've got the same calendar (the first one) duped; i
can see that authentication work, data are collected but i think that
evo do some mockups with temporary files or egw send the same data to
both 'account'.


many thanks.

--
  Se non trovi nessuno vuol dire che siamo scappati alle sei-shell (bash,
  tcsh,csh...)                                                  (Possi)


------------------------------------------------------------------------------
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: EGW 1.6, evolution and GroupDAV, some trouble...

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marco,

Marco Gaiarin schrieb:

> I've received no answer, i try to repost...
>
> [ This is a repost of the following article:                               ]
> [ From: Marco Gaiarin <marcogaio@...>                                ]
> [ Subject: EGW 1.6, evolution and GroupDAV, some trouble...                ]
> [ Newsgroups: lists.egw.users                                              ]
> [ Message-ID: <sfk8f6-7d5.ln1@...>                    ]
>
>
> I've just upgraded my 'home' egw installation, and tried to revamp our
> family calendar.
>
> My egw installation is really simple, on a debian etch box, using only
> an SSL-enabled virtualhost on apache2/php5.
>
> I've tried to switch from syncevolution (that works, but sometime break
> something and when break, it need many work to fix it...) to GroupDAV,
> with some trouble.
>
> 1) in addessbook i've defined an addressbook of type WebDAV, with an
>  URL of:
>
>         https://myserver/groupdav.php/addressbook/
>
> in apache logs i found a bounch of:
>
>         aldo - anna [30/May/2009:23:02:44 +0200] "PROPFIND /groupdav.php/addressbook/%20/ HTTP/1.1" 207 87
>         aldo - anna [30/May/2009:23:02:45 +0200] "PROPFIND /groupdav.php/addressbook/%20/ HTTP/1.1" 207 87

%20 means you put a space (' ') behind the url.

> and in error logs:
>
>         [Sat May 30 23:01:56 2009] [error] [client 192.168.1.16] Unrecogniced GroupDAV client: HTTP_USER_AGENT='Evolution/2.2
> 6.1'!
>         [Sat May 30 23:02:45 2009] [error] [client 192.168.1.16] PHP Warning: Invalid argument supplied for foreach() in /usr
> /share/egroupware/egw-pear/HTTP/WebDAV/Server.php on line 590
>         [Sat May 30 23:02:45 2009] [error] [client 192.168.1.16] PHP Warning: Invalid argument supplied for foreach() in /usr
> /share/egroupware/egw-pear/HTTP/WebDAV/Server.php on line 700
>
> and addressbook are empty (in egw the anna's addressbook are not) and i
> cannot add new entry.
>
>
> 2) calendard works, i can see all appointments, i can add one, i can
>  alter an appointment but i cannot delete one. If i try to delete i
> can see on access log:
>
>         aldo - anna [30/May/2009:23:09:22 +0200] "DELETE /groupdav.php/calendar/5669.ics HTTP/1.1" 412 -

412 HTTP code means "Precondition failed": you client send an etag as
HTTP_IF_MATCH header, which does NOT match the current etag.
etag's are the version of an entry, the client basicly said delete it,
IF it's not changed and 412 from the server tells the client it has changed.

> no error at all in error log; note that on both case Evolution return a
> unmeaningful generic error.
>
> I've triead to delete the appointment in egroupware with user anna, and
> works flawlessy (and clearly was deleted also in evolution).
>
>
> Another note, and i don't know if this is an evolution or egw bug: i've
> tried to setup two CalDAV calendars to the same server (with two user,
> anna and gaio), and i've got the same calendar (the first one) duped; i
> can see that authentication work, data are collected but i think that
> evo do some mockups with temporary files or egw send the same data to
> both 'account'.

I dont know Evolution, there's a similar problem with lightning: the
password store, stores one password per url, so you need to have
different url's or put the password in the url, eg:

http://user:password@.../egroupware/groupdav.php/calendar/

Better would be to use:

http://domain.com/egroupware/groupdav.php/user/calendar/

I included that syntax in the initial implementation, but never tested
it. It would allow to look into an other users calendar (ACL permitting)
with YOUR credentials. Therefore no need to store two credentials or
share your password with an other user.

Ralf
--
Ralf Becker
Director Software Development

Stylite GmbH
[open style of IT]

Morschheimer Strasse 15
67292 Kirchheimbolanden

fon  +49 (0) 6352 70629-0
fax  +49 (0) 6352 70629-30
mailto: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: EGW 1.6, evolution and GroupDAV, ?some trouble...

by Marco Gaiarin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mandi! Ralf Becker
  In chel dì si favelave...

>>         aldo - anna [30/May/2009:23:02:45 +0200] "PROPFIND /groupdav.php/addressbook/%20/ HTTP/1.1" 207 87
RB> %20 means you put a space (' ') behind the url.

AARRGGH!!!


>>         aldo - anna [30/May/2009:23:09:22 +0200] "DELETE /groupdav.php/calendar/5669.ics HTTP/1.1" 412 -
RB> 412 HTTP code means "Precondition failed": you client send an etag as
RB> HTTP_IF_MATCH header, which does NOT match the current etag.
RB> etag's are the version of an entry, the client basicly said delete it,
RB> IF it's not changed and 412 from the server tells the client it has changed.

Ahem, sorry but really i've not understood... it is an evolution
trouble or an egw one?

Anyway, my wife say me there's also some trouble with recurring events,
seems there's no way to insert one.


RB> Better would be to use:
RB> http://domain.com/egroupware/groupdav.php/user/calendar/

        aldo - anna [10/Jul/2009:00:50:08 +0200] "OPTIONS /groupdav.php/gaio/calendar/ HTTP/1.1" 200 -

but does nothing, calendar are empty, and anna have at least read right
(via the group 'casa') to the gaio's calendar.


Many thanks!!!

--
  Please note that free software should be interpreted as free speach
  while most seem to interprete it as free lunch.
                                                (Hugo van der Kooij)


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: EGW 1.6, evolution and GroupDAV, ?some trouble...

by Marco Gaiarin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>>>         aldo - anna [30/May/2009:23:09:22 +0200] "DELETE /groupdav.php/calendar/5669.ics HTTP/1.1" 412 -
RB>> 412 HTTP code means "Precondition failed": you client send an etag as
RB>> HTTP_IF_MATCH header, which does NOT match the current etag.
RB>> etag's are the version of an entry, the client basicly said delete it,
RB>> IF it's not changed and 412 from the server tells the client it has changed.
MG> Ahem, sorry but really i've not understood... it is an evolution
MG> trouble or an egw one?
MG> Anyway, my wife say me there's also some trouble with recurring events,
MG> seems there's no way to insert one.

Ok, just upgraded to 1.6.002 and now i can insert recurring event and
delete events, the only things i can't to is delete alla events of a
recursion, i have to delete the singular events.


[multiple url and access by another user]
RB>> Better would be to use:
RB>> http://domain.com/egroupware/groupdav.php/user/calendar/
MG>         aldo - anna [10/Jul/2009:00:50:08 +0200] "OPTIONS /groupdav.php/gaio/calendar/ HTTP/1.1" 200 -
MG> but does nothing, calendar are empty, and anna have at least read right
MG> (via the group 'casa') to the gaio's calendar.

I've double checked and in egw anna can see the 'gaio' caneldar, but if
i create a new calendar with the url above, the calendar are empty,
with no error in logs...

Again, many thanks.

--
  And did you exchange a walk on part in the war
  for a lead role in a cage? (Pink Floyd)


------------------------------------------------------------------------------
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users