Projet

Général

Profil

Bug #55729

axel caluire : le passage du xsd getfamille en choice (#55721) génère des listes sur responsable1 et responsable2

Ajouté par Thomas Noël il y a presque 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
21 juillet 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Ce patch :

        <xsd:complexType name="GETFAMILLEType">
-               <xsd:sequence>
+               <xsd:choice minOccurs="0" maxOccurs="unbounded">^M
                        <xsd:element ref="CODE" />
-                       <xsd:element ref="RESPONSABLE1" minOccurs="0" maxOccurs="1" />
-                       <xsd:element ref="RESPONSABLE2" minOccurs="0" maxOccurs="1" />
-                       <xsd:element ref="MEMBRE" minOccurs="0" maxOccurs="unbounded" />
-               </xsd:sequence> 
+                       <xsd:element ref="RESPONSABLE1" />^M
+                       <xsd:element ref="RESPONSABLE2"  />^M
+                       <xsd:element ref="MEMBRE" />^M
+               </xsd:choice>^M
        </xsd:complexType>

fait qu'on a en JSON final une liste de RESPONSABLE1 et RESPONSABLE2 :/


Fichiers

Révisions associées

Révision bdda53e4 (diff)
Ajouté par Nicolas Roche il y a presque 3 ans

caluire-axel: get first item of list in GETFAMILLE (#55729)

Révision e85f44b1 (diff)
Ajouté par Nicolas Roche il y a presque 3 ans

caluire-axel: get first item of list in GETFAMILLE (#55729)

Historique

#1

Mis à jour par Nicolas Roche il y a presque 3 ans

#2

Mis à jour par Thomas Noël il y a presque 3 ans

  • Statut changé de Solution proposée à Solution validée

Rien trouvé non plus de jouable dans le schéma XML... faisons ainsi, go !

#3

Mis à jour par Nicolas Roche il y a presque 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit bdda53e495745044e79ab1eaa64d045f019734f3
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Wed Jul 21 11:21:07 2021 +0200

    caluire-axel: get first item of list in GETFAMILLE (#55729)
#4

Mis à jour par Frédéric Péters il y a presque 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF