6.0.0-alpha12
6/7/25

[#5648] tovCard doesnt export categories
Summary tovCard doesnt export categories
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 08/20/2007 (6501 days ago)
Due
Updated 08/24/2007 (6497 days ago)
Assigned
Resolved 08/24/2007 (6497 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/24/2007 02:29:20 AM Chuck Hagenbuch Comment #3
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Looks good, at least while we have a single category field. Committed, thanks!
08/20/2007 03:06:16 PM rsalmon (at) mbpgroup (dot) com Comment #2 Reply to this comment
The function tovCard in lib/Driver.php doesn't handle categories.
Quick fix :

function tovCard

add to swith section

             case 'businessCategory':

                 $vcard->setAttribute('CATEGORIES', $val);

                 break;



function toHash

add to swith section

             case 'CATEGORIES':

                 $hash['businessCategory'] = str_replace('\; ', ';', 
$item['value']);

                 break;

             }






08/20/2007 01:22:12 PM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ tovCard doesnt export categories
Queue ⇒ Turba
State ⇒ Unconfirmed
Reply to this comment
The function tovCard in lib/Driver.php doesn't handle categories.

Saved Queries