modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.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
<!--9E3E7B42DB16405FB794496D309D7044--><AD_MODULE_DEPENDENCY>
harpreet@9091
     4
<!--9E3E7B42DB16405FB794496D309D7044-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[9E3E7B42DB16405FB794496D309D7044]]></AD_MODULE_DEPENDENCY_ID>
harpreet@9091
     5
<!--9E3E7B42DB16405FB794496D309D7044-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--9E3E7B42DB16405FB794496D309D7044-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--9E3E7B42DB16405FB794496D309D7044-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--9E3E7B42DB16405FB794496D309D7044-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
harpreet@9091
     9
<!--9E3E7B42DB16405FB794496D309D7044-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
staff@26197
    10
<!--9E3E7B42DB16405FB794496D309D7044-->  <STARTVERSION><![CDATA[3.0.26196]]></STARTVERSION>
harpreet@9091
    11
<!--9E3E7B42DB16405FB794496D309D7044-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
harpreet@9091
    12
<!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
harpreet@9091
    13
<!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
harpreet@9091
    14
<!--9E3E7B42DB16405FB794496D309D7044-->  <USER_EDITABLE_ENFORCEMENT><![CDATA[N]]></USER_EDITABLE_ENFORCEMENT>
harpreet@9091
    15
<!--9E3E7B42DB16405FB794496D309D7044--></AD_MODULE_DEPENDENCY>
harpreet@9091
    16
harpreet@9091
    17
</data>