Problem/Motivation

More info coming soon.
Regression introduced by #3477625: [2.1.x] UI Patterns UI

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

just_like_good_vibes created an issue. See original summary.

just_like_good_vibes’s picture

Component: Code » UI Patterns UI
Assigned: just_like_good_vibes » christian.wiedemann
just_like_good_vibes’s picture

i have tested using a component with an URL prop.

when i have enabled the module "ui_patterns_ui", then the resulting configuration is not correct when i saved a component, for example, with a block. i show you before and after. i have used ui_patterns_ui custom form or the component form.

Before :

uuid: 32e7783c-85b3-4c2f-b4e1-7af075159d3e
langcode: en
status: true
dependencies:
  module:
    - ui_patterns
    - ui_patterns_blocks
  theme:
    - ui_suite_dsfr
id: ui_suite_dsfr_buttonuisuitedsfr
theme: ui_suite_dsfr
region: content
weight: 0
provider: null
plugin: 'ui_patterns:ui_suite_dsfr:button'
settings:
  id: 'ui_patterns:ui_suite_dsfr:button'
  label: 'Button (UI Suite DSFR)'
  label_display: visible
  provider: ui_patterns_blocks
  ui_patterns:
    component_id: 'ui_suite_dsfr:button'
    variant_id:
      source_id: select
      source:
        value: ''
    props:
      attributes:
        source_id: attributes
        source:
          value: ''
      url:
        source_id: url
        source:
          value: 'https://drupal.org'

    slots:
      label:
        sources:
          -
            source_id: token
            source:
              value: coucou
            _weight: '0'
visibility: {  }

After

uuid: 32e7783c-85b3-4c2f-b4e1-7af075159d3e
langcode: en
status: true
dependencies:
  module:
    - ui_patterns
    - ui_patterns_blocks
  theme:
    - ui_suite_dsfr
id: ui_suite_dsfr_buttonuisuitedsfr
theme: ui_suite_dsfr
region: content
weight: 0
provider: null
plugin: 'ui_patterns:ui_suite_dsfr:button'
settings:
  id: 'ui_patterns:ui_suite_dsfr:button'
  label: 'Button (UI Suite DSFR)'
  label_display: visible
  provider: ui_patterns_blocks
  ui_patterns:
    component_id: 'ui_suite_dsfr:button'
    variant_id:
      source_id: select
      source:
        value: ''
    props:
      attributes:
        source_id: attributes
        source:
          value: ''
    slots:
      label: {  }
    display:
      value:
        props:
          url:
            source:
              value: 'https://drupal.org'
visibility: {  }
just_like_good_vibes’s picture

i will propose something

christian.wiedemann made their first commit to this issue’s fork.

just_like_good_vibes’s picture

Title: Regression on saving url prop values after issue 3477625 » [2.0.4] Regression on saving url prop values after issue 3477625
Assigned: just_like_good_vibes » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.