6.0.0-alpha14
7/2/25

[#11541] Kolab backend: Re-import fails
Summary Kolab backend: Re-import fails
Queue Nag
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org, mrubinsk (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 10/17/2012 (4641 days ago)
Due
Updated 10/27/2012 (4631 days ago)
Assigned 10/22/2012 (4636 days ago)
Resolved 10/22/2012 (4636 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/27/2012 12:59:48 AM Git Commit Comment #14 Reply to this comment
Changes have been made in Git (develop):

commit 8d2a1e8cbc175f069aa4a5a90087a99e4b4a0218
Author: Jan Schneider <jan@horde.org>
Date:   Mon Oct 22 18:49:22 2012 +0200

     Cast to integer (Bug #11541).

  nag/lib/Driver/Kolab.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/8d2a1e8cbc175f069aa4a5a90087a99e4b4a0218
10/27/2012 12:58:51 AM Git Commit Comment #13 Reply to this comment
Changes have been made in Git (develop):

commit 300fec5ce252eaa5833513aa88e67debaab1c6fd
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu Oct 18 12:23:28 2012 -0400

     Explicitly set empty datetime fields to 0 when importing.

     Possible fix for Bug: 11541

  nag/data.php |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/300fec5ce252eaa5833513aa88e67debaab1c6fd
10/27/2012 12:57:31 AM Git Commit Comment #12 Reply to this comment
Changes have been made in Git (develop):

commit f7bf4be76d468e59bcf2420c22d93c29c32854c4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Oct 17 14:36:35 2012 -0400

     These are also datetime fields.

     Possible fix for Bug: 11541

  nag/data.php |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/f7bf4be76d468e59bcf2420c22d93c29c32854c4
10/25/2012 06:26:47 PM Thomas Jarosch Comment #11 Reply to this comment
For the record: Works fine!

Thanks.

10/22/2012 04:50:42 PM Jan Schneider State ⇒ Resolved
 
10/22/2012 04:50:30 PM Git Commit Comment #10 Reply to this comment
Changes have been made in Git (master):

commit 8d2a1e8cbc175f069aa4a5a90087a99e4b4a0218
Author: Jan Schneider <jan@horde.org>
Date:   Mon Oct 22 18:49:22 2012 +0200

     Cast to integer (Bug #11541).

  nag/lib/Driver/Kolab.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/8d2a1e8cbc175f069aa4a5a90087a99e4b4a0218
10/22/2012 12:29:04 PM Jan Schneider State ⇒ Assigned
Assigned to Jan Schneider
 
10/19/2012 11:02:25 AM Thomas Jarosch Comment #9 Reply to this comment
Same stuff, different day.

'There was an error importing the data: Failed writing the Kolab 
object: Invalid integer input ""!'

-> Still fails for the Kolab backend. The same CSV imports just fine 
with the SQL backend.

10/18/2012 04:25:33 PM Michael Rubinsky Comment #8
Assigned to Michael Rubinsky
Taken from Jan Schneider
Reply to this comment
10/18/2012 04:24:19 PM Git Commit Comment #7 Reply to this comment
Changes have been made in Git (master):

commit 300fec5ce252eaa5833513aa88e67debaab1c6fd
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu Oct 18 12:23:28 2012 -0400

     Explicitly set empty datetime fields to 0 when importing.

     Possible fix for Bug: 11541

  nag/data.php |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/300fec5ce252eaa5833513aa88e67debaab1c6fd
10/18/2012 02:55:59 PM Thomas Jarosch Comment #6 Reply to this comment
Can you check to see if this commit:

http://lists.horde.org/archives/commits/2012-October/016571.html

Fixes it for you?
Now I get an error popup:
--------------------------------
There was an error importing the data: Failed writing the Kolab 
object: Invalid integer input ""!
--------------------------------

Perhaps the empty "completed" date field?

10/18/2012 02:33:26 PM Michael Rubinsky Comment #5
State ⇒ Feedback
Reply to this comment
Can you check to see if this commit:

http://lists.horde.org/archives/commits/2012-October/016571.html

Fixes it for you?
10/18/2012 12:37:47 PM Thomas Jarosch State ⇒ Assigned
 
10/18/2012 12:37:35 PM Thomas Jarosch Comment #4
Assigned to Jan Schneider
Taken from Michael Rubinsky
Reply to this comment
Still crashing:

DateTime::__construct() [<a 
href='datetime.--construct'>datetime.--construct</a>]: Failed to parse 
time string (@1970-01-01 13:05:23) at position 8 (-): Double timezone 
specification

1. Nag_Driver->add() /datastore/DEVEL/horde/nag/data.php:133
2. Nag_Driver_Kolab->_add() /datastore/DEVEL/horde/nag/lib/Driver.php:131
3. Nag_Driver_Kolab->_getObject() 
/datastore/DEVEL/horde/nag/lib/Driver/Kolab.php:196
4. DateTime->__construct() /datastore/DEVEL/horde/nag/lib/Driver/Kolab.php:283


Assigning to Jan since you probably can't test the Kolab stuff.

10/17/2012 06:53:11 PM Michael Rubinsky Comment #3
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Can you verify this works OK now with Kolab?
10/17/2012 06:37:17 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit f7bf4be76d468e59bcf2420c22d93c29c32854c4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Oct 17 14:36:35 2012 -0400

     These are also datetime fields.

     Possible fix for Bug: 11541

  nag/data.php |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/f7bf4be76d468e59bcf2420c22d93c29c32854c4
10/17/2012 02:17:24 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Kolab backend: Re-import fails
Type ⇒ Bug
Queue ⇒ Nag
Reply to this comment
Hi,

I just export a bunch of tasks into a CSV file.

Now I tried to reimport those tasks into a newly created tasklist
and got this backtrace:

DateTime::__construct() [<a 
href='datetime.--construct'>datetime.--construct</a>]: Failed to parse 
time string (@2012-10-30 14:16:00) at position 8 (-): Double timezone 
specification

1. Nag_Driver->add() /datastore/DEVEL/horde/nag/data.php:129
2. Nag_Driver_Kolab->_add() /datastore/DEVEL/horde/nag/lib/Driver.php:131
3. Nag_Driver_Kolab->_getObject() 
/datastore/DEVEL/horde/nag/lib/Driver/Kolab.php:196
4. DateTime->__construct() /datastore/DEVEL/horde/nag/lib/Driver/Kolab.php:286


Thomas

Saved Queries