Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Issue when detecting root page of non-existing language #8142

Closed
aschempp opened this issue Dec 1, 2015 · 1 comment
Closed

Issue when detecting root page of non-existing language #8142

aschempp opened this issue Dec 1, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@aschempp
Copy link
Member

aschempp commented Dec 1, 2015

I have found a funny issue thanks to my error reporting tool.

More than one page matches page ID "index". (http://example/en/)

For the given domain, there is a root page for language de and fr. German is fallback, and language in URL is enabled.

Somehow a visitor added /en/ to the URL. The system seems unable to find the fallback page, it should redirect to german in my opinion.

PS: this was Contao 4 but I'm pretty sure it's the same problem in Contao 3.

@leofeyer leofeyer added this to the 3.5.7 milestone Dec 23, 2015
@ghost ghost closed this as completed Feb 18, 2016
@leofeyer leofeyer removed the defect label Feb 18, 2016
@leofeyer leofeyer removed this from the 3.5.7 milestone Feb 18, 2016
@leofeyer leofeyer added the defect label Mar 2, 2016
@leofeyer leofeyer added this to the 3.5.9 milestone Mar 2, 2016
@leofeyer leofeyer self-assigned this Mar 2, 2016
@leofeyer
Copy link
Member

leofeyer commented Mar 2, 2016

Fixed in 5a523ce.

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Mar 26, 2016
### 4.1.2 (2016-03-22)

 * Handle derived classes in the exception converter (see #462).
 * Prevent the autofocus attribute from being added multiple times (see contao/core#8281).
 * Respect the SSL settings of the root page when generating sitemaps (see contao/core#8270).
 * Read from the temporary file if it has not been closed yet (see contao/core#8269).
 * Always use HTTPS if the target server supports SSL connections (see contao/core#8183).
 * Adjust the meta wizard field length to the column length (see contao/core#8277).
 * Correctly handle custom mime icon paths (see contao/core#8275).
 * Show the 404 error page if an unpublished article is requested (see contao/core#8264).
 * Correctly count the URLs when rebuilding the search index (see contao/core#8262).
 * Ensure that every image has a width and height attribute (see contao/core#8162).
 * Set the correct mime type when embedding SVG images (see contao/core#8245).
 * Handle the "float_left" and "float_right" classes in the back end (see contao/core#8239).
 * Consider the fallback language if a page alias is ambiguous (see contao/core#8142).
 * Fix the error 403/404 redirect (see contao/website#74).
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants