Closed (fixed)
Project:
Taxonomy display
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Mar 2012 at 23:11 UTC
Updated:
25 May 2012 at 17:00 UTC
Jump to comment: Most recent file
Selecting Views in Associated content display shows me empty select options.
<select id="edit-additional-settings-taxonomy-display-associated-display-form-view" name="additional_settings[taxonomy_display][associated_display_form][view]" class="form-select ajax-processed">
<option value="calendar_events">Events</option>
<option value="foo">My Foo</option>
<option value="workbench_access_content"></option>
<option value="workbench_current_user"></option>
<option value="workbench_edited"></option>
<option value="workbench_files"></option>
<option value="workbench_moderation">workbench_moderation</option>
<option value="workbench_recent_content"></option>
</select>
Comments
Comment #1
codycraven commentedhass, I could use some additonal details on these broken select options.
First I'd like to know what version of Views you are using, to see if this is a recent incompatibility issue in the way I populate the options based on the response from Views.
Second, looking at the list of items that have this issue it appears they are all "workbench_". Are these from the Workbench module? If so this could be a problem in their Views exported to code.
Note that even if this is a problem with the Views from a specific module I'd still like to fix the problem to at least populate the View's machine name as the selectable option, as it's far better than an empty option.
Lastly, could you visit one of the views that isn't working, such as workbench_recent_content, and tell me what the name is for the View? I'm suspecting it's not populated, which I didn't believe was possible (unless of course it's because the exported to code View has been modified to a broken state).
Comment #2
hass commentedYep, Workbench Suite... it's up to 5 modules.
In views interface the machine name seems to be shown as name. I cannot see the name field not filled in Views settings... so it may be better if you just try it yourself so I'm not telling you anything wrong...
Comment #3
codycraven commentedComment #4
codycraven commentedhass,
Sorry about the incredible delay, work has keep me pretty busy as of late. Please find that attached patch and let me know if it solves the problem.
Comment #5
hass commentedPatch does not apply. You are able to enable automated tests on the modules page...
Comment #6
hass commentedI'm attaching a slightly optimized patch that applies to DEV. I have tested it and it works as advertised. RTBC.
Comment #7
codycraven commentedCommitted and pushed to dev branch.