Download & Extend

Workflow States Weight handler in Views

Project:Workflow
Version:6.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I get the following error when attempting to sort by workflow state weight in Views 2.3.

"Error: handler for workflow_states > weight doesn't exist!"

Comments

#1

Bump?

#2

subscribing

#3

try changing line 35 of workflow.views.inc to:

      'handler' => 'views_handler_sort',

you'll likely have to flush your caches after the change, too.

#4

Status:active» needs review

Attaching a patch against 6.x-dev

AttachmentSize
workflow_views_sort.patch 828 bytes

#5

Status:needs review» reviewed & tested by the community

Works fine.

I tested against both 6.x-1.1 and 6.x-dev

Thanks!

#6

Status:reviewed & tested by the community» fixed

Fixed. Thanks.

#7

Status:fixed» closed (fixed)

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

#8

Version:6.x-1.1» 6.x-1.4
Status:closed (fixed)» active

Maybe the error disappeared but the sorting is not working for Workflow: State weight. Unless something changed with 1.4.

#9

Status:active» closed (won't fix)

Since this request is over a year old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.

nobody click here