Hi,
by selecting a relationship and an operator in "Configure filter criterion: Taxonomy term: Term"-dialog the autocomplete field "Select terms from vocabulary" appears only from time to time. In some case I get the field an can enter one or more terms and in some the field is not shown. I can reproduce this beavior by building a new filter or editing an existing one.

Thanks, mirkba

CommentFileSizeAuthor
#2 view_autocomplete_problem.txt13.15 KBmirkba
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Can you give us a view where this problem appears? Therefore please attach an export of the view.

Additional "sometimes" is somehow unsure, as this is a bit fuzzy. Please describe what you did when the bug appeared,
sadly we can't see your actions.

mirkba’s picture

Sorry, the behavoir is a little bit strange. See the attachment for an export of a affected view.
When I open the view to edit and add a filter criteria "Taxonomy term: Term" with "autocomplete" as selection-type, there is no autocomplete-field. When I try it with the dropdown-type, everything is fine. Now clicking on "remove" to cancel the filter-adding with dropdown and starting a new try with the autocomplete-type, I get a autocomplete-field.

In short: I have to try adding a filter with selection-type "dropdown" first to get the autocomplete-type working. Hope my problem is a littel bit clearer now.

Thanks, mirkba

dawehner’s picture

I definitive have used the autocomplete some time ago, so this might be a problem with broken javascript.

Can you open firebug and see whether there are any kind of js errors on your page?
They would cause the autocompletion to break.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
izudaire’s picture

Version: 7.x-3.0-rc1 » 7.x-3.0-rc3
Priority: Normal » Major
Status: Closed (cannot reproduce) » Active

Hi,
I'm having same problem: when having to select a filter criteria, selection box is not apperaring besides operator. Digging into html with firebug div.form-item-options-value has element.style applied (display:none)... when switched to display:whatever appears nicely. It looks like there is some javascript turning off element but don't know where to search for it.

No javascript error is appearing in firebug.

Most of the times I try to set a taxanoym term filter this problem is reproduciong, but never with other type of filters using similar screen (like language selection).

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

This might be a problem of #ajax, #states or #dependency . They are all hard to debug and fix.

Maybe you could provide a step-by-step clicking use-case so at least you can get a sure way to reproduce it.

rico.schaefer’s picture

I have the same problem, not only with autocomplete-field. I choose another admin-theme (ATAdmin from AdaptiveTheme), that works.

dawehner’s picture

Which admin theme did you used before?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
fischeme’s picture

Version: 7.x-3.0-rc3 » 7.x-3.3
Priority: Major » Normal
Status: Closed (cannot reproduce) » Active

I ran into the same bug creating a new calendar view from template (using calendar 7.x-3.2, Drupal core 7.12, Bartik admin theme) and adding a filter criterion based on a taxonomy field. I select autocomplete after selecting the field and the configure filter criterion page fails to include the entry field for specifying the value to filter against. Tracing in FireBug, all the Ajax seems to complete fine and there are no bugs reported. Again using FireBug, I found the relevant field has "display: none" in its style (code excerpt follows). Using FireBug to remove the style rule caused the field to display and I was able to successfully complete the task.

<div class="views-group-box views-right-70"><div class="form-item form-type-textfield form-item-options-value" style="display: none;" role="application">
  <label for="edit-options-value">Select terms from vocabulary Area </label>
 <input type="text" class="form-text form-autocomplete viewsImplicitFormSubmission-processed" maxlength="128" size="60" value="" name="options[value]" id="edit-options-value" autocomplete="OFF" aria-autocomplete="list"><input type="hidden" class="autocomplete autocomplete-processed" disabled="disabled" value="http://xxxxxxx.org/admin/views/ajax/autocomplete/taxonomy/1" id="edit-options-value-autocomplete">
<span aria-live="assertive" class="element-invisible" id="edit-options-value-autocomplete-aria-live"></span></div>
</div>

All this said, I saved my view and subsequently tried to create the problem again in another browser and the UI worked fine. Returning to my original browser, I logged out and back into my Admin account and found the functionality to work as well....So, this seems to be a rather particular situation on a new view or where something is not right in the user's session.

rico.schaefer’s picture

sorry for my late reply, before i used the seven-theme, i think.

stongo’s picture

Reporting same issue using Seven as administration theme with Select List.
<div class="form-item form-type-select form-item-options-value" style="display: none; ">

junipertwist’s picture

Issue summary: View changes

4 years later and this does not appear to be fixed. I am having this problem as well, changing "display:none" to "display:block" is the only fix. Using the Seven theme.

carlodimartino’s picture

Yes exactly the same problem here with Seven as the admin theme. Was driving me bonkers! Switching the admin theme to Garland fixes problem for me.