When I set the "Format" of a view to "Weight Changer" and save the view I receive this error:
Strict warning: Only variables should be passed by reference en theme_weight_view_weight() (línea 214 de D:\xampp\htdocs\drupal2\sites\all\modules\weight\weight.views.inc).
I receive the same error when I open the "view page".
When I reorder the items in the view page and save I receive this error:
Notice: Undefined index: weight in weight_view_weight_form_submit() (line 269 of D:\xampp\htdocs\drupal3\sites\all\modules\weight\weight.views.inc).
I don't know if the last error is related to the bug, if it isn't I'll report it in another issue after this one gets fixed.
Comments
Comment #1
davisbenHi ArtedeMagia.com,
I've fixed and committed the strict warning error. For your second error, I'm only able to reproduce it if the weight field wasn't in the view. Also you need to make sure it isn't the first field listed. If that doesn't fix your error, open a new issue, including an export of your view.
Comment #2
Anonymous (not verified) commentedThanks!
I guess you were right and I hadn't the weight field in the view for the second error...
But I still have some issues:
http://drupal.org/node/1272770
http://drupal.org/node/1272784
I separated them, I guess they are different issues.