Route information not correct if URL negotiation language is by domain

Created on 2 March 2023, almost 2 years ago
Updated 10 March 2023, almost 2 years ago

Problem/Motivation

Route Query not working correctly

Steps to reproduce

Enabled Domain at admin/config/regional/language/detection/url
Set diffrent domains for each language

Example Query:

query routing_example {
  route(path: "/node-alias") {
    __typename
    ... on RedirectUrl {
      path
      redirect {
        statusCode
      }
    }
    ... on EntityCanonicalUrl {
      __typename
      entity {
        
        ... on Node {
          __typename
          nid
          path {
            alias
          }
        }
        id
      }
    }
  }
}
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇭Switzerland jlenni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024