- Issue created by @xavier.masson
- 🇫🇷France mably
Hi @xavier.masson, looks like an interesting optimization.
Could you provide a merge-request please?
The current implementation of the Domain Source submodule always forces a redirect in domain_source_form_submit()
, even when the active domain matches the entity’s Domain Source.
This causes unnecessary redirections and may lead to unexpected behavior when saving or editing entities.
domain_a.com
and domain_b.com
).domain_source_form_submit()
to only set a redirect if the active domain differs from the entity’s Domain Source.domain_source_form_submit()
.No UI changes. The improvement affects backend redirection logic.
No API changes required. The update improves existing logic within domain_source_form_submit()
.
No database schema changes.
Active
2.0
Code
Hi @xavier.masson, looks like an interesting optimization.
Could you provide a merge-request please?