Skip to content

Conversation

@ciastektk
Copy link
Contributor

@ciastektk ciastektk commented Nov 13, 2025

🎫 Issue IBX-9663

Description:

For QA:

Documentation:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a Request property to the ContentEditEvent class, allowing event subscribers to access HTTP request context when handling content edit events.

Key Changes:

  • Added Request as a required constructor parameter and property to ContentEditEvent
  • Updated ContentController::editAction() to pass the request instance when dispatching the event

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/contracts/Event/ContentEditEvent.php Added Request property, constructor parameter, and getter method
src/bundle/Controller/ContentController.php Updated event instantiation to include request parameter and modified closure signature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@juskora juskora force-pushed the ibx-9663-extending-content-edit-event branch from c932a7c to 2b37085 Compare November 21, 2025 07:28
@juskora
Copy link
Contributor

juskora commented Nov 26, 2025

QA Approved on Ibexa DXP Commerce 4.6-dev.

@ciastektk ciastektk force-pushed the ibx-9663-extending-content-edit-event branch from 447a137 to 3751a9a Compare November 26, 2025 12:15
@sonarqubecloud
Copy link

@ciastektk ciastektk merged commit ee97a55 into 4.6 Nov 26, 2025
28 checks passed
@ciastektk ciastektk deleted the ibx-9663-extending-content-edit-event branch November 26, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants