Updated: Comment #0

Problem/Motivation

(I think) it used to be that starting to type a tag that began with # would autocomplete.
Now it does not.

For example, putting #Sp into either the tag field in the advanced search, or editing an issue and starting to type #Sp in the tag field ... does not return matching anything.

But typing SprintW , does return and match the tag: #SprintWeekend

Proposed resolution

Fix it so # autocomplets matching tags that start with #

(Or change tags that start with # to not, and disallow tags with #)

Remaining tasks

?

User interface changes

No.

API changes

No.

Comments

tvn’s picture

Confirmed. It would autocomplete such tags on D6.

YesCT’s picture

seems more than that. any old tag with a # also prevents adding new tags to autocomplete.

valthebald’s picture

Assigned: Unassigned » valthebald
valthebald’s picture

Assigned: valthebald » Unassigned

Issue cannot be reproduced on any dev environment (including clean, untouched ones). When I start typing #Sp, it displays all hash-starting tags. I've checked that on https://sprint12-drupal.redesign.devdrupal.org/project/issues/search, https://sprint1-drupal.redesign.devdrupal.org/project/issues/search and https://sprint14-drupal.redesign.devdrupal.org/project/issues/search
Same for issue edit form.
Staging and live sites still do not display the list when search starts with #, so I believe it's environmental issue

drumm’s picture

Project: [Archive] Drupal.org D7 upgrade QA » Drupal.org infrastructure
Component: Code » Webserver

I think the difference is that devwww sites use .htaccess files, while production and staging sites only use Apache configuration, forbidding .htaccess overrides.

Something is un-url-encoding the URL, so the now-literal # is treated as a fragment identifier and dropped.

Since new dev environments are on the way, and will also hard-code Apache configuration, I think the best place to fix this right now is staging.

valthebald’s picture

I confirm that dev without .htaccess and Clean URLs switched off autocompletes #-starting tags correctly

cafuego’s picture

I find that if I type '#' autocomplete returns nothing, but if I delete that '#' and type 'm' instead, autocomplete suggestions starting with # are displayed. Edit: Never mind, the autocomplete sorts items that contain 'm' but start with '#' first.

basic’s picture

There are D7 updates to the static rewrites that need to be applied for D7 to function properly. I'm working on applying these now.

basic’s picture

Issue tags: -Drupal.org 7.1

This should now be fixed, rewrite rules have been updated for drupal.org

tvn’s picture

Status: Active » Fixed
Issue tags: +Drupal.org 7.1

Yep, works! Thanks, basic.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Component: Webserver » Servers