Mailing List Archive

About uploads and 200 code
Good afternoon,

Have noticed that when you perform a massive upload with some CalDAV software like (Cardbook thunderbird add-on) Davical returns 2xx code even
when in the log you can see sequences like :


[Mon Jan 18 16:12:17.434176 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: SQL error "25P02" - ERROR: current transaction is aborted, commands ignored until end of transaction block"
[Mon Jan 18 16:12:17.434276 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: INSERT INTO addressbook_resource ( dav_id, version, uid, nickname, fn, n, note, org, url, fburl, caladruri, caluri ) VALUES( :dav_id, :version, :uid, :nickname, :fn, :name, :note, :org, :url, :fburl, :caladruri, :caluri )
[Mon Jan 18 16:12:17.434324 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":dav_id" => ""
[Mon Jan 18 16:12:17.434356 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":version" => "3.0"
[Mon Jan 18 16:12:17.434386 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack

So, obviously that vcard insertion has failed but a 2xx has been returned.

Is this a bug?. Or for some reason is this correct?.

Thanks a lot!
Best regards,
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: About uploads and 200 code [ In reply to ]
Forgot to say I’m running Davical-1.1.2

Regards,
> El 18 ene 2016, a las 18:23, Egoitz Aurrekoetxea <egoitz@ramattack.net> escribió:
>
> Good afternoon,
>
> Have noticed that when you perform a massive upload with some CalDAV software like (Cardbook thunderbird add-on) Davical returns 2xx code even
> when in the log you can see sequences like :
>
>
> [Mon Jan 18 16:12:17.434176 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: SQL error "25P02" - ERROR: current transaction is aborted, commands ignored until end of transaction block"
> [Mon Jan 18 16:12:17.434276 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: INSERT INTO addressbook_resource ( dav_id, version, uid, nickname, fn, n, note, org, url, fburl, caladruri, caluri ) VALUES( :dav_id, :version, :uid, :nickname, :fn, :name, :note, :org, :url, :fburl, :caladruri, :caluri )
> [Mon Jan 18 16:12:17.434324 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":dav_id" => ""
> [Mon Jan 18 16:12:17.434356 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":version" => "3.0"
> [Mon Jan 18 16:12:17.434386 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack
>
> So, obviously that vcard insertion has failed but a 2xx has been returned.
>
> Is this a bug?. Or for some reason is this correct?.
>
> Thanks a lot!
> Best regards,


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: About uploads and 200 code [ In reply to ]
Sorry for the noise…

Have seen it’s corrected in Davical 1.1.3

Cheers,

> El 18 ene 2016, a las 18:24, Egoitz Aurrekoetxea <egoitz@ramattack.net> escribió:
>
> Forgot to say I’m running Davical-1.1.2
>
> Regards,
>> El 18 ene 2016, a las 18:23, Egoitz Aurrekoetxea <egoitz@ramattack.net> escribió:
>>
>> Good afternoon,
>>
>> Have noticed that when you perform a massive upload with some CalDAV software like (Cardbook thunderbird add-on) Davical returns 2xx code even
>> when in the log you can see sequences like :
>>
>>
>> [Mon Jan 18 16:12:17.434176 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: SQL error "25P02" - ERROR: current transaction is aborted, commands ignored until end of transaction block"
>> [Mon Jan 18 16:12:17.434276 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: INSERT INTO addressbook_resource ( dav_id, version, uid, nickname, fn, n, note, org, url, fburl, caladruri, caluri ) VALUES( :dav_id, :version, :uid, :nickname, :fn, :name, :note, :org, :url, :fburl, :caladruri, :caluri )
>> [Mon Jan 18 16:12:17.434324 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":dav_id" => ""
>> [Mon Jan 18 16:12:17.434356 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack.net/addresses/palm-addressbook-00e890e5-72377b48-Tom Jones@pyrros.vcf: Query: QF: ":version" => "3.0"
>> [Mon Jan 18 16:12:17.434386 2016] [:error] [pid 1510] [client 11.22.33.44:34552] davical: LOG: caldav.php/xxxxxxx@ramattack
>>
>> So, obviously that vcard insertion has failed but a 2xx has been returned.
>>
>> Is this a bug?. Or for some reason is this correct?.
>>
>> Thanks a lot!
>> Best regards,
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Davical-general mailing list
> Davical-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general