modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 26197 2e3cf56c8f15
child 26203 327af339611e
permissions -rw-r--r--
fixed bug 29329: can't download attachments for 2 rows with same name & no ext

When trying to download at once attachemnts for different records that have the
same name and it does not have extension, it fails.

The problem is in case of duplicated names to be included within the zipped file,
a number is appended to the file name before the extension. Extesion is present
is assumed, failing if not.

Fix: don't assume file name has extension.
harpreet@9091
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9091
     2
<data>
harpreet@9091
     3
<!--F8D1B3ECB3474E8DA5C216473C840DF1--><AD_MODULE>
harpreet@9091
     4
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
harpreet@9091
     5
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <NAME><![CDATA[JSON REST Webservice]]></NAME>
staff@26197
     9
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION><![CDATA[2.0.26196]]></VERSION>
harpreet@9091
    10
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <DESCRIPTION><![CDATA[Provides a JSON REST webservice for CRUD service requests]]></DESCRIPTION>
harpreet@9091
    11
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <HELP><![CDATA[Provides a JSON REST webservice for CRUD service requests. Both the servlet implementation (receiving HTTP REST requests in JSON) as the backend processing are provided.]]></HELP>
harpreet@9091
    12
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravojsonrest]]></URL>
harpreet@9091
    13
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <TYPE><![CDATA[M]]></TYPE>
harpreet@9091
    14
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <LICENSE><![CDATA[Licensed under the Openbravo Public License version 1.1.
harpreet@9091
    15
You may obtain a copy of the License at http://www.openbravo.com/legal/license.html or in the legal folder of the Openbravo ERP core distribution.]]></LICENSE>
harpreet@9091
    16
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <JAVAPACKAGE><![CDATA[org.openbravo.service.json]]></JAVAPACKAGE>
harpreet@9091
    17
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <LICENSETYPE><![CDATA[OBPL]]></LICENSETYPE>
harpreet@9091
    18
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AUTHOR><![CDATA[Openbravo S.L.U. ]]></AUTHOR>
harpreet@9091
    19
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISTRANSLATIONREQUIRED><![CDATA[N]]></ISTRANSLATIONREQUIRED>
harpreet@9091
    20
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_LANGUAGE><![CDATA[en_US]]></AD_LANGUAGE>
harpreet@9091
    21
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <HASCHARTOFACCOUNTS><![CDATA[N]]></HASCHARTOFACCOUNTS>
harpreet@9091
    22
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISTRANSLATIONMODULE><![CDATA[N]]></ISTRANSLATIONMODULE>
harpreet@9091
    23
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <HASREFERENCEDATA><![CDATA[N]]></HASREFERENCEDATA>
juanpablo@9593
    24
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <UPDATEINFO><![CDATA[Bug fixing & new development for 3.0]]></UPDATEINFO>
staff@25842
    25
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION_LABEL><![CDATA[CI]]></VERSION_LABEL>
harpreet@9091
    26
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISCOMMERCIAL><![CDATA[N]]></ISCOMMERCIAL>
augusto@16933
    27
<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISTRIALALLOWED><![CDATA[N]]></ISTRIALALLOWED>
harpreet@9091
    28
<!--F8D1B3ECB3474E8DA5C216473C840DF1--></AD_MODULE>
harpreet@9091
    29
harpreet@9091
    30
</data>