Problem/Motivation

While working on #3519934: Add ui_patterns_field_widgets sub-module, we noticed there is an issue with the Drupal 12 upgrade (and the move from Symfony 7 to Symfony 8.0).

See this commit: https://git.drupalcode.org/project/ui_patterns/-/merge_requests/372/diff...

Proposed resolution

  1. Change the way we are constructing constraints
  2. Change all info.yml to declare Drupal 12 compatibility.

Is it a breaking change? Is it preventing us to support both Drupal 11 and Drupal 12? Do we need to move to UI PAtterns 3?

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

pdureau created an issue. See original summary.

grimreaper’s picture

grimreaper’s picture

grimreaper’s picture

grimreaper’s picture

Assigned: grimreaper » just_like_good_vibes
Status: Active » Needs work

WIP MR created.

I have not tested.

The main point to clarify is in src/Plugin/Context/RequirementsContextDefinition.php, I left a todo, when I encountered the problem on D12 I was not passing in this class so not sure about this change.

grimreaper’s picture

  • grimreaper committed 4f683a9f on 2.0.x
    task: #3588936 Drupal 12 compatibility and Symfony Constraint API
    
    By:...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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