Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Aug 2016 at 16:38 UTC
Updated:
26 Jan 2019 at 03:44 UTC
Jump to comment: Most recent
Comments
Comment #2
zalak.addweb commentedComment #3
rob230 commentedWhat is the point of remember_roles? It appears on every filter, even ones that have nothing to do with roles, and it remembers old roles that no longer exist, e.g.:
Where 62 is a role that was deleted.
In every filter it appears on, the only key with a value is 2:
Where 2 is the role ID of authenticated user.
I don't understand what it's meant to be saving. I can see nothing in the filter settings that it could be referring to.
Comment #4
rob230 commentedAh I found it. When you check 'Remember the last selection' there is a hidden field that becomes visible. I don't know why it needs to export all this junk, mostly zeroes and out-of-date values, when you export a view.
Edit: deleting it from your view export doesn't seem to affect it, so it isn't needed at all.
Comment #5
joelpittetThis works if you save the view after applying the patch. It would be nice if the exporting did this but I can't be 100% if we do that generically and don't know how to target specific options to alter their export output.
Comment #6
joelpittetComment #7
damienmckennaCommitted, with a small comment added.