Project

General

Profile

Development #10059

possibilité de remplir un formulaire avec un champ fichier attaché via l'API

Added by Benjamin Dauvergne about 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Target version:
Start date:
23 February 2016
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

Je pense en acceptant une valeur structurée avec un nom de fichier et un contenu en base64 idéalement il faudrait que ça colle avec le format exporté.


Files

Associated revisions

Revision efd1af07 (diff)
Added by Benjamin Dauvergne about 7 years ago

api: handle submit of forms with date, file and map fields (#10059)

History

#2

Updated by Benjamin Dauvergne about 7 years ago

Ce ticket est bloquant pour Paris.

#3

Updated by Benjamin Dauvergne about 7 years ago

Ce patch s'applique au dessus du #10026

#4

Updated by Benjamin Dauvergne about 7 years ago

Il manquait un test sur MapField aussi et une validation que from_json_value()/get_json_value() sont bien bijectifs (ou presque pour FileField).

#5

Updated by Serghei Mihai about 7 years ago

Je viens de tester le patch en local. Ça fonctionne

#7

Updated by Serghei Mihai about 7 years ago

Ok pour moi

#8

Updated by Frédéric Péters about 7 years ago

Il y a deux/trois détails dans la documentation (double guillemets fermants, genre), je vais reprendre demain rapidement.

#9

Updated by Frédéric Péters about 7 years ago

  • Status changed from Nouveau to Résolu (à déployer)

Voilà, commit poussé avec quelques modifications à la documentation.

commit efd1af07700e18b3a5869e3503e5bf72cfc75f2a
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Feb 23 15:17:23 2016 +0100

    api: handle submit of forms with date, file and map fields (#10059)
#10

Updated by Thomas Noël almost 7 years ago

  • Target version set to v1.35
#11

Updated by Thomas Noël almost 7 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF