Update `ComponentAudit::getConfigEntityDependenciesUsingComponent()` to support component versions

Created on 13 June 2025, 11 days ago

Overview

IOW: similar to \Drupal\experience_builder\Audit\ComponentAudit::getContentRevisionsUsingComponent().

Proposed resolution

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Config management

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Merge Requests

Comments & Activities

  • Issue created by @wim leers
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
  • First commit to issue fork.
  • 🇮🇳India libbna New Delhi, India

    I have implemented the suggested changes. If there are any additional updates or modifications required, please let me know.

  • Pipeline finished with Failed
    5 days ago
    Total: 1201s
    #525967
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Did you push all commits?

  • 🇮🇳India libbna New Delhi, India
    • Added the array $version_ids = [] parameter to the method signature as requested
    • Implemented the filtering structure that loads each config entity when $version_ids is provided
    • Maintained backward compatibility (empty array works as before)

    What's left:

    Need to implement the actual version checking logic inside the filter function (currently has placeholder return true;)
    Unsure how component versions are stored in the config entities - need guidance on how to extract/compare versions!

  • Pipeline finished with Failed
    5 days ago
    Total: 1331s
    #526127
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Thanks for pushing this forward!

    Unsure how component versions are stored in the config entities - need guidance on how to extract/compare versions!

    See \Drupal\experience_builder\Entity\VersionedConfigEntityInterface::getVersions() and \Drupal\experience_builder\Entity\VersionedConfigEntityInterface::getVersionSpecificDependencies().

  • 🇮🇳India libbna New Delhi, India

    Apologies for the delay! I've added the implementation for versions_id. Leaving the issue in "Needs Work" status so that others can pick up and work on the test cases.

  • Pipeline finished with Failed
    about 2 hours ago
    #529860
Production build 0.71.5 2024