Problem/Motivation

When the module is installed on a site, it tries to find a prefix but doesn't seem to manage and thus fails, merely adding an additional slash to an existing url, leading to a too many redirects error in the browser.

Steps to reproduce

Attempt to install module on a site with one language active, note how url changes to try and accommodate that language but does not add a prefix, merely adding leading to two // being present and the site trying to redirect between the / and // version of the page, leading to a "too many redirects" error.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    showardclark created an issue. See original summary.

    nkoporec’s picture

    Had the same issue, this happens if you don't configure the langcode for the single
    language in system, which is located at admin/config/regional/language/detection/url , you need to add a prefix for the default language.

    I'm also adding a patch that fixes the error, since its a fatal error if user doesn't configure that, so we need to add a check before adding a path prefix.

    nkoporec’s picture

    Status: Active » Needs review

    • nikunjkotecha committed 76b354b9 on 2.0.x
      Issue #3420058 by nkoporec, showardclark: Upon install site stops...