Skip to content

fix(application): persist redirect value in setRedirect#9279

Merged
andrasbacsai merged 1 commit into
nextfrom
application-direction-not-saving
Mar 29, 2026
Merged

fix(application): persist redirect value in setRedirect#9279
andrasbacsai merged 1 commit into
nextfrom
application-direction-not-saving

Conversation

@andrasbacsai

Copy link
Copy Markdown
Member

Summary

  • Fix General::setRedirect() to assign the selected Livewire redirect state to the Application model before saving.
  • Preserve existing validation that blocks www redirect when no www domain is configured.
  • Add ApplicationRedirectTest feature tests to verify:
  • setRedirect persists a valid redirect change to the database.
  • setRedirect dispatches an error and does not persist when www is selected without a matching domain.

Breaking Changes

  • None.

Assign the selected redirect option before validation so valid changes are saved.
Add feature tests to verify redirect persistence and rejection when no www domain exists.
@andrasbacsai andrasbacsai merged commit 7b3b6fa into next Mar 29, 2026
5 checks passed
@andrasbacsai andrasbacsai deleted the application-direction-not-saving branch March 29, 2026 19:03
@andrasbacsai andrasbacsai mentioned this pull request Apr 5, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant