401ode / GetOutdoorsRI

Site promote the use of Rhode Island's public outdoor resources and increase public engagement
0 stars 2 forks source link

Removing Multiple Content Items Fails #74

Open nickatomlin opened 8 years ago

nickatomlin commented 8 years ago

Removing content (achievements, wiki pages, etc.) is also part of the "stripping-down" process of reducing the 100MoMiles site to just the Home and Explore pages. The content page offers two methods of deleting content items: (1) clicking the right-side delete button to delete a single item, and (2) selecting multiple items by their checkboxes and performing a 'delete' operation on the selected items. content

The first option works but is not feasible due to the high number (~1000) of content items. The second option prompts the admin with a confirm page. Hitting the confirm button, however, produces two errors, and the operation fails. The errors state: (1) 'No operation selected' and (2) 'Please select at least one item'. This is unexpected because (1) the 'delete' operation was selected, and (2) a wide range of items were selected. content-error

This error does not seem specific to our codebase, though it is not particularly common with other Drupal users. Some people with similar problems have attributed the problem to max_packet_size issues when deleting large amounts of content. However, this solution seems extremely unlikely because the second method of deleting content items fails even when only a single is selected.

A possible workaround to this issue exists in the Delete all module, which could also be useful for removing users for the stripped-down site.