When not using a multivalued date field. The following notices are thrown.
"Notice: Undefined index: multiple_value in _addtocalendar_preprocess_field() (line 38 of [..]/addtocalendar/includes/addtocalendar.build.inc)"
and
"Notice: Undefined index: multiple_value in _addtocalendar_preprocess_field() (line 172 of
[..]/addtocalendar/includes/addtocalendar.build.inc)"
This is due to the build functions referencing the "multiple_value" setting that is not set because the date field is not a multiple value date field.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | addtocalendar-multivalued_date_field_notices-2878558-2.patch | 1.63 KB | chrissnyder |
Comments
Comment #2
chrissnyderThis patch should correct the notices that are being thrown.
Comment #3
chrissnyderNote: The patches in this issue and #2878572: AddToCalendar rendering is inconsistent and throws notices overlap. So depending on which one gets applied first the other may have to be re-rolled.
Comment #4
gg24 commentedComment #6
gg24 commentedI have re-rolled above patch attached. This patch works as intended. Issuing RTBC.
Thanks!
Comment #7
gg24 commentedFixing this issue.
Thanks