chapter-three / next-drupal

Next.js for Drupal has everything you need to build a next-generation front-end for your Drupal site: SSG, SSR, and ISR, Multi-site, Authentication, Webforms, Search API, I18n and Preview mode (works with JSON:API and GraphQL).
https://next-drupal.org
MIT License
641 stars 178 forks source link

drupal/decoupled_router patch install failed #789

Open salem-cxdesigns opened 4 months ago

salem-cxdesigns commented 4 months ago

Package containing the bug

next-drupal (NPM package)

Describe the bug

A clear and concise description of what the bug is.

  1. It's not possible to apply the drupal/decoupled_router patch when installing drupal
  2. A call to drupal.translatePathFromContext always returns null and results to every route handle by slug returning 404.
drupal patch issue

Steps to reproduce:

  1. First, install drupal and apply drupal/decoupled_router patch
  1. Then, a call to drupal.translatePathFromContext always returns null and results to every route handle by slug returning 404.
Vacilando commented 4 months ago

Same problem; patch not applied.

omkar-pd commented 3 months ago

for latest version of decoupled_router 2.0.5 Used this patch - https://www.drupal.org/files/issues/2024-07-11/decouple_router-3111456-resolve-language-issue-63--get-translation-re-rolled.patch

Vacilando commented 3 months ago

If that's the preferred solution, could somebody please update the code at https://next-drupal.org/learn/quick-start/apply-patches accordingly.

Vacilando commented 2 months ago

Kind reminder