Closed (fixed)
Project:
DraggableViews
Version:
6.x-3.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2012 at 10:45 UTC
Updated:
14 Mar 2013 at 05:46 UTC
Hi,
when I create a view, which displays custom entities (created with ECK) then adding a DraggableViews field will always change the output to the word 'Array'. It seems that DraggableViews is not prepared for custom entities. I also tried the latest dev of ECK.
Comments
Comment #1
ygerasimov commentedCould you please provide step by step instructions how to reproduce the problem?
I have created entity type (via ECK) and created several entities. But I am able to build draggable view and sort the items and I see the order being saved.
Comment #2
Wolfgang Reszel commentedFor a block and a page view it works, but not for "Entity content". I suppose it's from the EVA module.
Comment #3
ygerasimov commentedThen it is not related to draggableviews. Lets close this issue.
Comment #4
Wolfgang Reszel commentedOkay, I created an issue there: http://drupal.org/node/1611414
Comment #5
estum commentedI had the same problem with Drupal 6.26, Views 2.16 and DraggableViews 3.5, on sorting page it renders 'Array' inside form element.
I've just added missing ampersand to $vars argument, and now sorting page works fine for me:
Comment #7
EvaldsUrtans commentedThank you, same error appeared for me on Drupal 6 after PHP 5.4 upgrade
Comment #8
Davidz commentedSame problem after PHP 5.4 upgrade.
#5 fixed it.
Thanks a lot.