CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #31313

Prices are not rendered correctly

Added by Xavier Perseguers over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2011-10-26
Priority:Should have Due date:
Assignee:Xavier Perseguers % Done:

100%

Category:Web service
Target version:1.4.1 Estimated time:0.50 hour
Votes: 0

Description

This is a bug description received by email from Cédric Corminboeuf after a discussion with Jean-Daniel Faessler.

Il semblerait que les prix ne soient pas gérés correctement par l’API(niveau affichage donc), mais les données du webservices sont bien conformes.

Exemple :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://nexplore.ch/bk/refegov/webservice/messagecontract/20">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetServiceDetailRequest>
         <ns:eCHserviceID>12345</ns:eCHserviceID>
         <ns:eCHlanguageID>FR</ns:eCHlanguageID>
         <ns:organisationID>02291</ns:organisationID>
         <ns:eCHcommunityID>10-00</ns:eCHcommunityID>
         <ns:eCHserviceVersionID>0</ns:eCHserviceVersionID>
         <ns:eCHserviceBlock>5,8</ns:eCHserviceBlock>
      </ns:GetServiceDetailRequest>
   </soapenv:Body>
</soapenv:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetServiceDetailResponse xmlns="http://nexplore.ch/bk/refegov/webservice/messagecontract/20">
         <eCHserviceDetail>
            <formularBlock label="Formulaire(s)" id="5" xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/20">
               <formular idx="229" uri="http://www.egovernment.ch">
                  <formularName>Formulaire 1</formularName>
                  <description>Attestation de domicile pour citoyen Suisse</description>
               </formular>
               <formular idx="230" uri="https://eforms1.dev.cyberadmin.ch/20/?form=12345-13518-230-FR&amp;eCHmunicipalityID=02291&amp;organisationID=02291">
                  <formularName>Formulaire 2</formularName>
                  <description>Attestation de domicile pour personne étrangère</description>
               </formular>
            </formularBlock>
            <feeBlock label="Coût(s) de la prestation" id="8" xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/20">
               <feeInfo>
                  <description>20.-</description>
                  <pricingList>
                     <pricing idx="229">
                        <price label="Coût">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">32</content>
                        </price>
                        <fee label="Frais">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">1</content>
                        </fee>
                        <epaymentEnabled label="ePayment">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">false</content>
                        </epaymentEnabled>
                        <vatCode label="Code TVA">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">2</content>
                        </vatCode>
                     </pricing>
                     <pricing idx="230">
                        <price label="Coût">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">10</content>
                        </price>
                        <fee label="Frais">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">1</content>
                        </fee>
                        <epaymentEnabled label="ePayment">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">true</content>
                        </epaymentEnabled>
                        <vatCode label="Code TVA">
                           <content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">2</content>
                        </vatCode>
                     </pricing>
                  </pricingList>
               </feeInfo>
            </feeBlock>
         </eCHserviceDetail>
      </GetServiceDetailResponse>
   </s:Body>
</s:Envelope>

31313_output.png (26 kB) Xavier Perseguers, 2011-10-26 14:22

History

Updated by Xavier Perseguers over 1 year ago

Sample output showing the problem:

Updated by Xavier Perseguers over 1 year ago

  • Status changed from Accepted to Resolved
  • Target version set to 1.4.1
  • % Done changed from 0 to 100
  • Estimated time set to 0.50

Updated by Xavier Perseguers over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF