Posted by taite11 on February 22, 2009 at 6:20am
| Project: | Flag Weights |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | mdibrahim |
| Status: | closed (fixed) |
Issue Summary
I was following the instructions on http://drupal.org/node/356781
When I went to add "flags: weight" in fields, it gave this error: "An error occurred at http://www.(domain).com/admin/build/views/ajax/add-item/(flag type)/page_1/field."
This is with Views 6.x-2.3, Draggable Views 6.x-3.x-dev and Drupal 6.6.
Comments
#1
I think that this error is because Flag Weights don't define the set_range() function in draggableviews_handler_flag_weights.inc
#2
Unfortunately the current dev-versions are not compatible at the moment. You're right with the set_range() function (but there's also some other stuff). The attached patch fixes this issue temporary.
Greetings,
sevi
#3
Hello Sevi:
I agree. This is not working correctly. Indeed, I can't get this work. (I worked for two hours and... nothing)
I have tested your patch and now weight selects are empties. I think this is because
range (start and end) is never defined.
Do you get this working correctly?. When I click "save" flag weights doesn't
change.
Greetings,
Mariano
#4
Update:
Sorry Sevi, the patch works, I was creating a block instead of a page. For that reason I could not see the results.
Thanks
Mariano
#5
Committed patch to CVS - http://drupal.org/cvs?commit=183198
#6
Automatically closed -- issue fixed for 2 weeks with no activity.
#7
When I went to add "flags: weight" in fields, it gave this error: "An error occurred at /borda1/admin/build/views/ajax/preview/flag_bookmarks4"
This is with Views 6.x-2.2, Draggable Views 6.x-3.2-beta4 and Drupal 6.1.
Here is an image file which show the view of my work.