Hi,

i am using input fields with drupal core autocomplete feature via module "Autocomplete Widgets for Text and Number Fields" (http://drupal.org/project/autocomplete_widgets). I attached a simple textual content (cck) field with autocomplete feature to a form.

If you load the form and immediately after this load the connection to server gets capped (in times of mobile data connections no rare event), a HTML error 0 appears in firefox + IE after every character input into this field.

This error seems to be caused by autocomplete core-implementation according to the module maintainer (see #667226-3: When using CCK field with Content Profile, autocomplete field displays http 0 error ).

The same issue appears for the autocomplete user-name input field of the masquerade module (masquerade block).

For me this is a usibility issue for a website, so i want to report it as a bug. A normal user has no idea, what to do in these situations.

Comments

rfay’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #1232416: Drupal alerts "An AJAX HTTP request terminated abnormally" during normal site operation, confusing site visitors/editors (for 8.x). It would have to be committed to 8.x, then 7.x, then 6.x. The chances aren't great. But the answer there is probably appropriate.

Reopen if you see fit.

effulgentsia’s picture

Version: 6.20 » 8.x-dev
Status: Closed (duplicate) » Active

I don't think this is a duplicate. The other issue is an "error" being alerted when there's absolutely no error of any kind. This issue is an "error" being alerted due to a network timeout / disconnection, which is in fact an error. We may want to fix both issues, and their solutions might be related, but I think it makes sense to keep both open.

This behavior exists in D8 too, so setting version accordingly. A good solution, if there is one, might be backportable to 7 and 6.

nod_’s picture

Status: Active » Postponed

Same as the other issue, need #1419652: JavaScript logging and error reporting to do anything about this.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

kristen pol’s picture

Issue summary: View changes
Issue tags: +Bug Smash Initiative

Although this one is marked postponed, we are triaging it as part of a Bug Smash triage session. I'll try to test this on 8.9 and 9.1 to see if it's still an issue.

kristen pol’s picture

Version: 8.9.x-dev » 9.1.x-dev
Issue tags: +Needs issue summary update

I tested on 9.1 as follows:

  1. Used the Umami profile and Firefox
  2. Installed the masquerade module
  3. Placed the masquerade block in a region
  4. Typed into the username autocomplete field using the beginning letters from some users (e.g. "h" and "g")
  5. Shut off the server
  6. Using same the browser tab from step 4, typed in the same letters as before
  7. In some cases, I got the throbber image immediately and, in some cases, I did get it after awhile
  8. The browser cached the autocomplete options so they did show up
  9. I chose a username and clicked the "Switch" button
  10. The "Unable to connect" error was shown
  11. Clicked the browser's back arrow
  12. Then the browser did not have the usernames cached anymore and the throbber did not show up
  13. Repeated the above steps 3 times and it was consistent
  14. Checked one last time with the dev tools console and didn't see any errors

I didn't not see the HTML Error 0 error as a popup or in the console log.

kristen pol’s picture

Forgot to add the screenshots.

Throbber not showing up but browser cache shows name

Throbber showing up and browser cache shows name

Unable to connect error page

After using browser back button, throbber not showing up and browser cache does not show name

Nothing in the console log

kristen pol’s picture

Testing 8.9 showed the same behavior as 9.1. I didn't not see the HTML Error 0 error as a popup or in the console log.

I'm going to consult with the bugsmash team to see if I can close this or it needs to perhaps stay open for Drupal 7.

kristen pol’s picture

Version: 9.1.x-dev » 7.x-dev

Since this is not reproducible in 8.9 or 9.1, @jibran said this can be moved back to 7 so switching it.

kristen pol’s picture

For completeness, I tested this on 7.8 in a similar way as follows:

  1. Installed 7.8 standard profile and Firefox
  2. Added two users: holly and grace
  3. Installed the masquerade module
  4. Placed the masquerade block in a region
  5. Typed into the username autocomplete field using the beginning letters from some users (e.g. "h" and "g")
  6. Shut off the server
  7. Using same the browser tab from step 4, typed in the same letters as before
  8. If I used the letters I used before, I didn't get the error popup as the browser cached the usernames
  9. If I used a new letter, the error shows up
  10. Typed in holly and clicked the "Go" button
  11. The "405 Not Allowed" error was shown (note that I used ddev for this test while using quickstart for the 8.9 and 9.1 tests)
  12. Clicked the browser's back arrow
  13. When I did this the first time, I got an un-themed version of the page and was able to get the error to popup
  14. When I tried all the steps again, at this step, I got an error page
  15. Ran through this once with the console log and see errors there

Error when typing in a letter that I hadn't used before the server was shut down

Error when entering valid username and clicking Go button (expected)

After using browser's back button, error when typing in a letter that I hadn't used before the server was shut down

Error shown in console

After running through tests again and using browser's back button, no cached page and showed error (this is okay)

Status: Postponed » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.