When I have an "Editable table" selected for the View format, and I add a Draggable Views field to the view, the entire output of the View becomes the word "Array" (instead of an HTML table), followed by the Draggable Views' module's "Save" button. I'm not sure if this is a Draggable Views or an Editable Views issue, so I'm posting to both issue queues.

Steps to reproduce:
- Create a view and select "Editable table" as the format.
- Add a Draggable Views field to the table.
- Click "Update preview" at the bottom.

Note that this is a different issue from #972886: DraggableViews and editablefields.

Comments

istryker’s picture

Title: Doesn't play nice with Editable Views » Support for Editable Views
Category: bug » feature

This is probably a problem with the latest dev as well. This probably is a draggableviews problem not editable views, but I have no clue.

Patches are welcome!

markdc’s picture

Issue summary: View changes

I ran into this problem as well. I get this error:

Notice: Array to string conversion in drupal_render() (line 6095 of /var/www/http/includes/common.inc).

Maybe someone knows a fix?

ar-jan’s picture

A little bit more info: if you exclude the draggableviews field from the view, there is a warning:

Warning: class_implements(): object or string expected in entity_type_supports() (line 84 of drupal-7.56.1-dev/sites/all/modules/contrib/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 84 of drupal-7.56.1-dev/sites/all/modules/contrib/entity/entity.module).

(This is with the 2.x-dev version.) Any ideas how to proceed?