-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dossier): always use update path to editable dossier #11235
fix(dossier): always use update path to editable dossier #11235
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11235 +/- ##
==========================================
- Coverage 84.42% 84.40% -0.02%
==========================================
Files 1199 1199
Lines 26381 26381
Branches 4965 4965
==========================================
- Hits 22271 22268 -3
- Misses 4110 4113 +3 ☔ View full report in Codecov by Sentry. |
ça corrige une erreur en particulier ? (j'essaie de faire le ménage sur sentry, y a eu pas mal de nouveaux trucs) ' |
@@ -6,7 +6,7 @@ | |||
.dossier-edit.fr-container.counter-start-header-section | |||
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: dossier } | |||
= render NestedForms::FormOwnerComponent.new | |||
= form_for dossier_for_editing, url: brouillon_dossier_url(dossier), method: :patch, html: { id: 'dossier-edit-form', class: 'form', multipart: true, novalidate: 'novalidate' } do |f| | |||
= form_for dossier_for_editing, url: brouillon_dossier_url(dossier_for_editing), method: :patch, html: { id: 'dossier-edit-form', class: 'form', multipart: true, novalidate: 'novalidate' } do |f| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on est d'accord que c'est juste du cosmétique ?
- côté serveur, on adaptait bien par default si
dossier.en_construction?
on prend le fork, sinon le dossier - et de tte maniere, l'autosave se declenche sur le champ, qui lui etait le bon car on passe par dossier_for_editing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui, mais à terme ça permettra de simplifier le code
Non, c'est juste du nettoyage pour préparer la migration vers les streams |
ef00646
No description provided.