Custom view gets split incorrectly

Created on 30 June 2023, 12 months ago
Updated 19 October 2023, 8 months ago

I have a dev/test/live split configuration and my dev split looks as follows (shortened to the relevant):

id: dev
label: Development
stackable: false
storage: folder
folder: ../config/split/dev
module:
  views_ui: 0

I created a custom view via the Views UI and then executed drush config:export. The view got exported, but in the dev split instead of into the main config. I created the view using the views_ui module, but it has no dependency on views_ui, just on views. Therefore it should not get split into dev just because the views_ui module gets split there.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria mvonfrie

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

Comments & Activities

  • Issue created by @mvonfrie
  • πŸ‡ΊπŸ‡ΈUnited States aasarava

    I'm running into the same issue. My `config_slit.config_split.dev.yml` looks almost identical to yours (with the exception that I'm using ../config/dev for my split directory.)

    I'm not sure the issue is related to `views_ui`. Even if I simply install the conflig_split module, create an active split, and don't check off any modules to split, running `drush cex` results in a custom view and a handful of other configuration files getting exported into /config/dev.

    My custom view is configured to check access for the developer role, and I noticed that user.role.developer.yml is getting exported into /config/dev as well. I wonder if there's some dependency there. But specifically adding user.role.developer.yml to the conditional split (graylist) doesn't seem to make any difference.

  • Status changed to Closed: cannot reproduce 8 months ago
  • πŸ‡¨πŸ‡­Switzerland bircher πŸ‡¨πŸ‡Ώ

    Thank you for opening the issue. I tried to reproduce the issue but couldn't with the latest version.
    If this persists for you please open the issue again and include more precise steps to reproduce or an example site configuration (for example based off the umami demo site) that could be set up to investigate this.

Production build 0.69.0 2024