Wrong URL for saving a new Model

Created on 3 August 2023, over 1 year ago

Problem/Motivation

Wrong URL when I save a new Model or edit existing one (there is a similar problem #3349859)

There is an example of a wrong URL
http://localhost/en/en/admin/config/workflow/eca/bpmn_io/save?_wrapper_f...

Steps to reproduce

Need to enable several languages and set settings to detect language from URL

Proposed resolution

It needs to remove Drupal.url from javascript and use only Url::fromRoute(...)->toString()

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇩🇪Germany artem0793

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

Comments & Activities

Production build 0.71.5 2024