GroupDav incorrect XML in response

classic Classic list List threaded Threaded
9 messages Options
Grégory Oestreicher Grégory Oestreicher
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

GroupDav incorrect XML in response

Hi,

I'm the maintainer of the GroupDav Akonadi resource in the KDE project and I just got
a bug report that I tracked down to an issue with eGroupware.

When requesting the 'resourcetype' property in a PROPFIND request the 'collection' tag
does not have the namespace correctly set. eGroupware returns '<collection/>' where it
should be '<D:collection/>'. All other elements of the XML file have the correct
namespace (DAV or CalDav / CardDav elements).

This can be mitigated by setting $cnrnd to true in egw-pear/HTTP/WebDAV/Server.php,
but this cannot be done by all users and does not explain why only this element is
affected by the default behavior.

Cheers,
Grégory


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker Ralf Becker
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

Hi Grégory,
 
----------------ursprüngliche Nachricht-----------------
Von: "Grégory Oestreicher" [hidden email]
An: [hidden email]
Datum: Tue, 1 Feb 2011 16:59:57 +0100 (CET)
-------------------------------------------------
 
 
> Hi,
>
> I'm the maintainer of the GroupDav Akonadi resource in the KDE project and I just
> got a bug report that I tracked down to an issue with eGroupware.

Thanks for letting us know and good to know who is in charge of GroupDAV in KDE.

> When requesting the 'resourcetype' property in a PROPFIND request the
> 'collection' tag does not have the namespace correctly set. eGroupware returns
> '<collection/>' where it should be '<D:collection/>'.
> All other elements of the XML file have the correct
> namespace (DAV or CalDav / CardDav elements).
>
> This can be mitigated by setting $cnrnd to true in
> egw-pear/HTTP/WebDAV/Server.php,
> but this cannot be done by all users and does not explain why only this element is
> affected by the default behavior.

I'll have a look and let you know once it's fixed in EGroupware. Do you have a KDE ticket number for that?

Do you have any other problems or requests concerning EGroupware's GroupDAV or CalDAV/CardDAV support?
I love to hear about them and maybe we are able to change/fix something making problems.

I'm currently on a vacation in New Zealand, but I will be back in Germany by end of next week.

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: [hidden email]
       
        www.stylite.de
        www.egroupware.org
        ________________________________________________
       
        Geschäftsführer Andre Keller, Ralf Becker
        Registergericht Kaiserslautern HRB 30575
        Umsatzsteuer-Id / VAT-Id: DE21428095




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Grégory Oestreicher Grégory Oestreicher
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

Hi Ralf,

> I'll have a look and let you know once it's fixed in EGroupware. Do you have a KDE
> ticket number for that?

This is bug #265096 (https://bugs.kde.org/show_bug.cgi?id=265096).

> Do you have any other problems or requests concerning EGroupware's GroupDAV or
> CalDAV/CardDAV support?

None at the moment besides this one, but I'll give a closer try at various
implementations now that the resource is rather RFC-compliant (though not perfect for
sure).

> I'm currently on a vacation in New Zealand, but I will be back in Germany by end of
> next week.

Enjoy your vacation, and thanks for taking the time to answer :)

Cheers,
Grégory


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Grégory Oestreicher Grégory Oestreicher
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

In reply to this post by Ralf Becker
Hi Ralf,

Le jeudi 03 février 2011 02:26:23, Ralf Becker a écrit :
>
> I'll have a look and let you know once it's fixed in EGroupware. Do you
> have a KDE ticket number for that?

Did you have the chance to look into this?

Cheers,
Grégory

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker Ralf Becker
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

Sorry, not yet. It's not forgotten.

I'm probably not able to work on the computer for the rest of the week.

Ralf
--
Ralf Becker
Stylite GmbH
[ open style of IT ]

Morschheimer Strasse 15
D - 67292 Kirchheimbolanden

fon   +49 (6352) 70629-0
fax   +49 (6352) 70629-30
mobil +49 (170)  3147833
email [hidden email]

www.stylite.de
www.egroupware.org

Geschäftsführer: Andre Keller,
   Ralf Becker
Registergericht Kaiserslautern, HRB 30575

Am 08.03.2011 um 21:45 schrieb Grégory Oestreicher <[hidden email]>:

> Hi Ralf,
>
> Le jeudi 03 février 2011 02:26:23, Ralf Becker a écrit :
>>
>> I'll have a look and let you know once it's fixed in EGroupware. Do you
>> have a KDE ticket number for that?
>
> Did you have the chance to look into this?
>
> Cheers,
> Grégory
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> eGroupWare-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-developers

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker Stylite AG Ralf Becker Stylite AG
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

In reply to this post by Grégory Oestreicher
Hi Grégory,

Am 03.02.11 09:24, schrieb Grégory Oestreicher:
> Hi Ralf,
>
>> I'll have a look and let you know once it's fixed in EGroupware. Do you have a KDE
>> ticket number for that?
>
> This is bug #265096 (https://bugs.kde.org/show_bug.cgi?id=265096).

this should be fixed with r35280-2 in all EGroupware branches in SVN,
with the following fix:

Index: inc/class.groupdav.inc.php
===================================================================
--- inc/class.groupdav.inc.php (Revision 35281)
+++ inc/class.groupdav.inc.php (Arbeitskopie)
@@ -134,6 +134,7 @@
  {
  case 'kde': // KAddressbook (at least in 3.5 can NOT subscribe /
does NOT find addressbook)
  $this->client_require_href_as_url = true;
+ $this->cnrnd = true; // Akonadi seems to require redundant
namespaces, see KDE bug #265096 https://bugs.kde.org/show_bug.cgi?id=265096
  break;
  case 'cfnetwork': // Apple addressbook app
  case 'dataaccess': // iPhone addressbook

Fix will be part of tomorrows daily 1.8 snapshot and the next
maintenance release.

Sorry it took so long :-(

Problem is I have no more KDE installation to verify the fix.

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: [hidden email]

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Grégory Oestreicher Grégory Oestreicher
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

Hi Ralf,

Le lundi 13 juin 2011 11:16:48, Ralf Becker a écrit :
> >
> > This is bug #265096 (https://bugs.kde.org/show_bug.cgi?id=265096).
>
> this should be fixed with r35280-2 in all EGroupware branches in SVN,
> with the following fix:

Brilliant, thanks!

> Problem is I have no more KDE installation to verify the fix.

This is a grave fault ;) More seriously, no problem, I'll test this this week
and confirm if it's working.

Cheers,
Grégory

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Grégory Oestreicher Grégory Oestreicher
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

In reply to this post by Ralf Becker Stylite AG
Hi Ralf,

Le lundi 13 juin 2011 11:16:48, Ralf Becker a écrit :
>
> this should be fixed with r35280-2 in all EGroupware branches in SVN,
> with the following fix:

I've just tested and confirm that I no longer have the issue.

Thanks,
Grégory

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker Stylite AG Ralf Becker Stylite AG
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GroupDav incorrect XML in response

Am 14.06.11 19:48, schrieb Grégory Oestreicher:
> Hi Ralf,
>
> Le lundi 13 juin 2011 11:16:48, Ralf Becker a écrit :
>>
>> this should be fixed with r35280-2 in all EGroupware branches in SVN,
>> with the following fix:
>
> I've just tested and confirm that I no longer have the issue.

Thanks for testing and helping to improve EGroupware :-)

Can you take care of the KDE bug.

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: [hidden email]

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Loading...