Skip to content

Conversation

@GrabowskiM
Copy link
Contributor

🎫 Issue IBX-10338

Description:

For QA:

Documentation:

@GrabowskiM GrabowskiM requested review from a team and Copilot July 17, 2025 13:44
@GrabowskiM GrabowskiM changed the base branch from main to 4.6 July 17, 2025 13:44
Copy link

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 PR addresses an issue where users could not edit content after discarding a creation flow by clearing stored form data upon closing.

  • Inserts a call to formsInitialData.clear() after the discard logic
  • Ensures any residual form state is reset to allow reopening and editing
Comments suppressed due to low confidence (3)

src/bundle/Resources/public/js/scripts/sidebar/extra.actions.js:57

  • [nitpick] Add an automated test to verify that initial form data is cleared when discarding content creation, preventing regressions in this workflow.
        formsInitialData.clear();

src/bundle/Resources/public/js/scripts/sidebar/extra.actions.js:57

  • Guard the call to formsInitialData.clear() or ensure formsInitialData is properly imported; otherwise, this may throw a ReferenceError if the object is undefined.
        formsInitialData.clear();

@sonarqubecloud
Copy link

@ViniTou ViniTou merged commit b9105e7 into 4.6 Jul 18, 2025
22 of 28 checks passed
@ViniTou ViniTou deleted the IBX-10338 branch July 18, 2025 08:43
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.

7 participants