misc: do not save prefilling data on initial visit (#75848) #1407
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/75848-do-not-save-prefill-first-visit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(pour build, voir s'il y a des pièges avec cette suggestion)
réponse : il y a le cas des démarches avec des données calculées en première page, qui doivent provoquer un brouillon (situation détectée par test_computed_field_set_data) mais à part ça, ça va.
23e08a169c
to15d2939e52
15d2939e52
tofc6a41549d
@ -602,1 +602,3 @@
self, page, page_change=True, page_error_messages=None, submit_button=None, transient_formdata=None
self,
page,
arrival=False,
Ce nouveau paramètre, pour dire qu'on arrive sur la démarche.
@ -214,16 +214,6 @@ class HTTPRequest(quixote.http_request.HTTPRequest):
user_agent = self.get_environ('HTTP_USER_AGENT', '').lower()
return bool('bot' in user_agent or 'crawl' in user_agent)
def is_from_application(self):
On n'a plus besoin de ça.
WIP: misc: do not save prefilling data on initial visit (#75848)to misc: do not save prefilling data on initial visit (#75848)