Cannot save model when module rename_admin_paths is active

Created on 23 March 2023, over 1 year ago
Updated 11 May 2023, over 1 year ago

Problem/Motivation

In one of our projects, the client requires us to use the module rename_admin_paths to obfuscate / change the admin path to something different. Saving ECA models no longer works with renamed admin paths.

Steps to reproduce

  • Enable rename_admin_paths and change admin path to something different, e.g. myadminpath
  • Create a new ECA Model on page myadminpath/config/workflow/eca/add/bpmn-io (which shows up) and try to save it.
  • The model is not saved, you'll get no error message, but an ajax error (404) indicating that the former (regular) admin path was request via ajax: /admin/config/workflow/eca/bpmn_io/save

As we do not create models on the live site, we just disable rename_admin_paths locally to get things working, so the need a fix is not at all urgent to us - nevertheless, I just wanted to report this finding.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇩🇪Germany kgertz Konstanz

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

Comments & Activities

Production build 0.71.5 2024