6.0.0-beta1
8/8/25

[#1528] IMSP error when adding multi-line abook field entries
Summary IMSP error when adding multi-line abook field entries
Queue Turba
Queue Version 2.0.2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester stephen (at) unc (dot) edu
Created 03/11/2005 (7455 days ago)
Due
Updated 03/13/2005 (7453 days ago)
Assigned 03/11/2005 (7455 days ago)
Resolved 03/13/2005 (7453 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/13/2005 06:10:37 PM Michael Rubinsky State ⇒ Resolved
 
03/13/2005 06:15:29 AM stephen (at) unc (dot) edu Comment #4 Reply to this comment
Michael:  The code from CVS seems to work great.  Thanks for your help.
03/11/2005 05:47:34 PM stephen (at) unc (dot) edu Comment #3 Reply to this comment
Thanks for the fast response, Michael.  I'll try the updates either 
this afternoon or tomorrow and let you know if everything works okay 
for me.
03/11/2005 01:58:22 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Should be fixed in CVS HEAD and FRAMEWORK_3 now.
03/11/2005 09:37:25 AM Jan Schneider Assigned to Michael Rubinsky
State ⇒ Assigned
 
03/11/2005 06:34:22 AM stephen (at) unc (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMSP error when adding multi-line abook field entries
Queue ⇒ Turba
New Attachment: imsp_pear_debug.txt Download
Reply to this comment
When trying to add a new contact in Turba H3 2.0.2 using the IMSP driver, I

get the error IMSP_EXIT_UNEXPECTED_RESPONSE.  This only happens if 
there are multiple lines in fields that allow such (e.g. Home Address, 
Notes).



I turned on logging on my IMSP server and I see the following in the user log

when I try to add the new contact in the situation described above:



+ go

notes "note line 1

note line 2" phone-work "" fax "" phone-home "" cellphone "" __uid {50}

A0003 BAD storeaddress field data must be valid atom/string pairs

note BAD command 'line' unknown



I assume the IMSP server doesn't like the new line between 'note line 1'

and 'note line 2', even though they are both part of the same 'notes'

contact field.



In case it is useful information, I've attached a text file to this 
ticket with a section of the Horde log with PEAR logging set on debug. 
  Let me know if you need addtional information from me.



Thanks for your help.

Saved Queries