6.0.0-RC7
6/18/26

[#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/12 (4992 days ago)
Due
Updated 10/27/12 (4982 days ago)
Assigned 10/22/12 (4987 days ago)
Resolved 10/22/12 (4987 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
4812 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
5112 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
3112 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
476 Thomas Jarosch Comment #11 Reply to this comment
For the record: Works fine!

Thanks.

424 Jan Schneider State ⇒ Resolved
 
304 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
412 Jan Schneider State ⇒ Assigned
Assigned to Jan Schneider
 
2511 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.

334 Michael Rubinsky Comment #8
Assigned to Michael Rubinsky
Taken from Jan Schneider
Reply to this comment
194 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
592 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?

262 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?
4712 Thomas Jarosch State ⇒ Assigned
 
3512 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.

116 Michael Rubinsky Comment #3
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Can you verify this works OK now with Kolab?
176 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
242 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