Closed (fixed)
Project:
Display Builder
Version:
1.0.x-dev
Component:
UI/UX/Islands
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Aug 2025 at 15:22 UTC
Updated:
30 Sep 2026 at 10:50 UTC
Jump to comment: Most recent
Comments
Comment #2
pdureau commentedPlease wait #3538440: Merge island_settings & island_configuration in profiles is merged before starting this one
Comment #3
pdureau commentedWe are closing alpha4 soon
Comment #4
pdureau commentedIs it something which will fix this bug?
Comment #5
pdureau commentedComment #6
pdureau commentedBeta4 has already been released.
Comment #7
mogtofu33 commentedComment #8
mogtofu33 commentedComment #10
pdureau commentedI am still reproducing this in the Profile configuration:
Is it what you meant with "Have the configuration use Drupal ajax when saved"? If yes, we can update the description to focus on this task.
Comment #11
pdureau commentedComment #14
andres alvarez commentedFixed by wiring
#ajaxcallback on the submit action when the form is opened in a modal. The form now closes via AJAX instead of redirecting, which preserves unsaved changes in the parent ProfileForm.Without the callback, the browser submits a regular full-page POST that Drupal doesn't recognize as AJAX, so the redirect proceeds and loses the parent form's state. With it, the browser submits via XHR, the entity is saved through the normal chain, and
ajaxSubmit()returns a CloseDialogCommand to close the modal without navigation.Added a FunctionalJavascript test verifying that the modal closes without page reload and parent form changes survive. The test fails as expected if the fix is reverted.
Comment #15
andres alvarez commentedComment #17
mogtofu33 commented