Closed (fixed)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
Code (general)
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jan 2012 at 00:31 UTC
Updated:
5 Mar 2012 at 14:10 UTC
My setup:
Drupal v7.9
Views v3.1, with this patch http://drupal.org/node/1376686#comment-5481488
Fontyourface v7.x-2.x-dev dated 18 Jan 2012
Font Squirrel API v7.x-2.x-dev dated 18 Jan 2012
Modifying and saving the default "@font-your-face Browse" view fails, even for trivial changes like Title changes, with this error:
"No valid values found on filter: Font: Provider."
Comments
Comment #1
sreynen commentedI've tested this in various configuration of enabled modules and it looks like it fails if Google Fonts API is disabled. I think the problem is the Google Fonts display on the view needs the Google Fonts provider to be available, since that's the value of a filter. The solution to this is to move this to a separate view activated by the Google Fonts API module rather than the main module.
As a temporary work-around before that solution is in place, you can enable the Google Fonts API module, edit the view, then disable that module if you're not using it.
Comment #2
BarisW commentedLet me have a look ;)
Comment #3
BarisW commentedHmm, I tried overriding the view from within the Google Fonts module but I cannot get it to work. Maybe you can give it a try?
Comment #4
sreynen commentedI think this is working as separate Views. Commit. Please review.
Comment #5
BarisW commentedGood work Scott, this works. Although I still believe it would be better to just override the existing view instead of creating a separate one (for future changes on the overview, which have to be done twice now).
But for now, this issue seems fixed. Thanks!
Comment #6
sreynen commentedOh, I thought you were talking before about overriding the URL path. I didn't even think of overriding the view itself. I agree that would be cleaner, but I'm also not sure how to do that. Maybe we can figure that out next time we need to update the view(s).