Flag Weights Issue que

taite11 - February 22, 2009 - 06:20
Project:Flag Weights
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:mdibrahim
Status:closed
Description

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.

#1

dagmar - March 6, 2009 - 11:37

I think that this error is because Flag Weights don't define the set_range() function in draggableviews_handler_flag_weights.inc

#2

sevi - March 6, 2009 - 11:56

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

AttachmentSize
draggableviews_handler_flag_weights.inc_.patch 2.32 KB

#3

dagmar - March 6, 2009 - 12:59

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

dagmar - March 6, 2009 - 17:40

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

lyricnz - March 14, 2009 - 01:13
Status:active» fixed

Committed patch to CVS - http://drupal.org/cvs?commit=183198

#6

System Message - March 28, 2009 - 01:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#7

mdibrahim - April 9, 2009 - 05:22
Title:Error when adding a flag weight field.» Flag Weights Issue que
Assigned to:Anonymous» mdibrahim

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.

AttachmentSize
1.JPG 54.88 KB
 
 

Drupal is a registered trademark of Dries Buytaert.