enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
11 stars 4 forks source link

Project config resource always tries to open at `/admin` #7598

Closed alansemenov closed 1 month ago

alansemenov commented 1 month ago

"Handler not found" comes up when opening Settings module in Content Studio. It's caused by CS always trying to open the /project/config endpoint under /admin, so it will fail if the admin is not mounted at /admin via vhosts.

To reproduce:

  1. Add the following mapping for admin vhost to the vhosts config file:

    mapping.admin.host = localhost
    mapping.admin.source = /
    mapping.admin.target = /admin
    mapping.admin.idProvider.system = default
  2. Enable vhosts (set enabled = true)

  3. Go directly to /settings in Content Studio

image