Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.5
-
Fix Version/s: 1.7.7
-
Component/s: Zend_Gdata
-
Labels:None
-
Language:English
-
Tags:
Description
The setWhen method of Zend_Gdata_Kind_EventEntry expects an array as its argument. The document is inconsistent between examples in 22.5.4.1 and 22.5.4.2; of the three examples given, two treat as an array and one as a single instance. Patch:
Index: Zend_Gdata_Calendar.xml
===================================================================
— Zend_Gdata_Calendar.xml (revision 14213)
+++ Zend_Gdata_Calendar.xml (working copy)
@@ -582,7 +582,7 @@
$when->endTime="2007-12-05T15:00:00:00-08:00";
// Apply the when property to an event
$event>when = $when;
+$event->when = array($when);
]]>
</programlisting>
<para>
Hi Zachary, many thanks for the patch, it's much appreciated!
However, before I can apply it, you'll need to have a signed Contributor License Agreement (CLA) on file with the Zend Framework project. Instructions on doing this and an FAQ are here:
http://framework.zend.com/community/contribute
Would you be okay with this? Please let me know if you have any questions.