- Issue created by @solene_ggd
- Status changed to Needs work
over 1 year ago 2:35pm 4 September 2023 - 🇫🇷France solene_ggd
Ok, I found that using 'canonical' or 'edit-form' link template for the 'clone-form' link template, instead of always /entity_clone/$entity_type_id/{{$entity_type_id}}", fixes the issue. I use the same logic than in the DynamicLocalTasks by using the 'canonical' link template if it exists, and the 'edit-form' link template otherwives.
It is a major change in the module because it changes all entity clone form paths, but I didn't find another solution.
Here is a patch including the fix in the .module file, but tests are failing. Another patch is coming soon for that. - Status changed to Needs review
over 1 year ago 2:40pm 4 September 2023 - last update
over 1 year ago 30 pass - 🇫🇷France solene_ggd
Here is a patch including changes in tests. It is a big patch, all tests are affected because the entity clone form path has to be found dynamically now. We can't do anything else, I think, because the 'clone-form' link template is now depending on path defined in other modules.
- Assigned to nicolasgraph
- Status changed to Needs work
5 months ago 7:47am 5 September 2024 - Issue was unassigned.
- Status changed to Needs review
4 months ago 8:59am 5 September 2024