Multiple select lists and edit all occurrances

gmak - September 28, 2006 - 21:39
Project:Event Repeat
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

using a cck type as an event with the event and eventrepeat is causing problems with select lists set to allow multiple selections.

If you only choose one item from the select list the submission of the data is fine. However, in editing an existing repeat, selecting multiple items causes the submission process to return a whole bunch of array information, like:

Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 51 [3] => 51 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 51 [2] => 51 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 51 [2] => 51 [3] => 1 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 48 [3] => 48 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 48 [2] => 48 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 48 [2] => 48 [3] => 1 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 49 [3] => 49 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 49 [2] => 49 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 49 [2] => 49 [3] => 1 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 50 [3] => 50 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 50 [2] => 50 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 50 [2] => 50 [3] => 1 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 0 [2] => 53 [3] => 53 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 0 [2] => 54 [3] => 54 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 0 [2] => 88 [3] => 88 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 0 [2] => 89 [3] => 89 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 617 [3] => 597 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 617 [2] => 597 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 617 [2] => 597 [3] => 1 ) Array ( [0] => field_description_value [1] => field_description_format ) Array ( [0] => '%s' [1] => %d ) Array ( [0] => field_description_value = '%s' [1] => field_description_format = %d ) Array ( [0] => dissertation seminars [1] => 3 [2] => 618 [3] => 598 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 210 [1] => 618 [2] => 598 [3] => 0 ) Array ( [0] => field_location_value ) Array ( [0] => '%s' ) Array ( [0] => field_location_value = '%s' ) Array ( [0] => SHR 211 [1] => 618 [2] => 598 [3] => 1 )

This is all that appears on screen. Checking the node, however, shows that the data (including the multiple selects) have been stored correctly in the database.

#1

gmak - September 28, 2006 - 21:42

A bit more work shows that it is not the multiple select, it is simply clicking the radio button for "Apply edit(s) to: All occurrences"

#2

Sean B Fuller - January 30, 2007 - 16:29

Sorry for taking so long on this. Can you confirm that this is no longer happening with eventrepeat 4.7.x-2.x, latest 4.7 event and latest CCK?

#3

rmiddle - January 12, 2009 - 14:06
Status:active» fixed

4.7 Branch is being moved to unsupported. If this is still an issue with 5.x-1.x or 5.x-2.x please reopen.

Thanks
Robert

#4

System Message - January 26, 2009 - 14:10
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.