Closed (fixed)
Project:
Role Expire
Version:
6.x-1.11
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Sep 2010 at 09:41 UTC
Updated:
9 Jan 2012 at 19:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
stewsnoozealthough the current implementation of views in role expire is buggy it is functional. Have you tried creating a view?
Comment #2
teliseo commentedHere is a patch against current dev. (2010-Jul-11) that makes major changes to views to work properly and add features. Among the changes:
With these changes, it should be unnecessary to expose the role_expire table as a base table, as had been previously suggested.
These changes should fix all issues raised by this bug and also bugs #856628: Role Expiration Time Views field & Role ID relationship act as filter and #735336: Views display for multiple role expirations.
Comment #3
keva commentedI'm using this module on a site on a site which relies on this patch.
Is it possible to get that patch committed (it's well-reviewed), then redo this patch with the new dev version?
Comment #4
wizonesolutionsThe relationship is unavailable when Node is the base table. Not entirely sure why but looking into ways to fix this. I'll probably just hack something together, re-roll this patch, and get some feedback.
Comment #5
wizonesolutionsOK, this is a re-roll and an enhancement. The fields will now appear and work when Node is the base table. An extra relationship appears; ignore that. No relationship needs to be added in this case.
There's another issue in that filtering by role excludes all roles without an expiration at all, which in my case I didn't want. However, this isn't a big enough deal for me to fix it, just wanted to point it out. I just cloned the display and made another version of it as a workaround.
Patch attached.
Comment #6
stewsnoozeThis patch won't apply. It should be rolled from within the role_expire directory
Comment #7
wizonesolutionsAh sorry, you're probably right though it worked for me. Forgot that bzr does things a little different.
Will reroll but you can try patch -p1 < filename as well.
Comment #8
sharplesa commentedThis should be addressed by the patch at #649256: Default expiration when creating new users - http://drupal.org/node/649256#comment-5291110. Please test.
Comment #9
sharplesa commentedRolled patch at http://drupal.org/node/649256#comment-5291110 into new version 6.x-1.12.