modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MESSAGE.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 23385 e60dfabc36f9
child 27198 5bdafea397d7
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.
martin@9697
     1
<?xml version='1.0' encoding='UTF-8'?>
martin@9697
     2
<data>
martin@15566
     3
<!--0611ACA6E69841D7AC7D7F34308E2780--><AD_MESSAGE>
martin@15566
     4
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_MESSAGE_ID><![CDATA[0611ACA6E69841D7AC7D7F34308E2780]]></AD_MESSAGE_ID>
martin@15566
     5
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
martin@15566
     6
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
martin@15566
     7
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
martin@15566
     8
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <VALUE><![CDATA[OBJSON_InvalidFilterValue]]></VALUE>
martin@15566
     9
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <MSGTEXT><![CDATA[Invalid filter value %0.]]></MSGTEXT>
martin@15566
    10
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
martin@15566
    11
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
augusto@20036
    12
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
martin@15566
    13
<!--0611ACA6E69841D7AC7D7F34308E2780--></AD_MESSAGE>
martin@15566
    14
asier@23385
    15
<!--1F2DA42F35A7413BACE558B6C621980D--><AD_MESSAGE>
asier@23385
    16
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_MESSAGE_ID><![CDATA[1F2DA42F35A7413BACE558B6C621980D]]></AD_MESSAGE_ID>
asier@23385
    17
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
asier@23385
    18
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
asier@23385
    19
<!--1F2DA42F35A7413BACE558B6C621980D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
asier@23385
    20
<!--1F2DA42F35A7413BACE558B6C621980D-->  <VALUE><![CDATA[OBJSON_NoPagedFetch]]></VALUE>
asier@23385
    21
<!--1F2DA42F35A7413BACE558B6C621980D-->  <MSGTEXT><![CDATA[Data was tried to be fetched from server without pagination. Request was aborted to prevent server performance issues. This is most likely a bug, please contact your System Administrator.]]></MSGTEXT>
asier@23385
    22
<!--1F2DA42F35A7413BACE558B6C621980D-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
asier@23385
    23
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
asier@23385
    24
<!--1F2DA42F35A7413BACE558B6C621980D-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
asier@23385
    25
<!--1F2DA42F35A7413BACE558B6C621980D--></AD_MESSAGE>
asier@23385
    26
martin@15545
    27
<!--3038E4EC493149F08F9701F22B89176B--><AD_MESSAGE>
martin@15545
    28
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_MESSAGE_ID><![CDATA[3038E4EC493149F08F9701F22B89176B]]></AD_MESSAGE_ID>
martin@15545
    29
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
martin@15545
    30
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
martin@15545
    31
<!--3038E4EC493149F08F9701F22B89176B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
martin@15545
    32
<!--3038E4EC493149F08F9701F22B89176B-->  <VALUE><![CDATA[OBJSON_InvalidProperty]]></VALUE>
martin@15545
    33
<!--3038E4EC493149F08F9701F22B89176B-->  <MSGTEXT><![CDATA[The name %0 is invalid, use one of the following names: %1]]></MSGTEXT>
martin@15545
    34
<!--3038E4EC493149F08F9701F22B89176B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
martin@15545
    35
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
augusto@20036
    36
<!--3038E4EC493149F08F9701F22B89176B-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
martin@15545
    37
<!--3038E4EC493149F08F9701F22B89176B--></AD_MESSAGE>
martin@15545
    38
martin@9697
    39
<!--FF8081812D744D38012D745E4B22001F--><AD_MESSAGE>
martin@9697
    40
<!--FF8081812D744D38012D745E4B22001F-->  <AD_MESSAGE_ID><![CDATA[FF8081812D744D38012D745E4B22001F]]></AD_MESSAGE_ID>
martin@9697
    41
<!--FF8081812D744D38012D745E4B22001F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
martin@9697
    42
<!--FF8081812D744D38012D745E4B22001F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
martin@9697
    43
<!--FF8081812D744D38012D745E4B22001F-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
martin@9697
    44
<!--FF8081812D744D38012D745E4B22001F-->  <VALUE><![CDATA[OBJSON_StaleDate]]></VALUE>
miguel@16193
    45
<!--FF8081812D744D38012D745E4B22001F-->  <MSGTEXT><![CDATA[The record you are saving has already been changed by another user or process. Cancel your changes and refresh the data by clicking the refresh button.]]></MSGTEXT>
martin@9697
    46
<!--FF8081812D744D38012D745E4B22001F-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
martin@9697
    47
<!--FF8081812D744D38012D745E4B22001F-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
augusto@20036
    48
<!--FF8081812D744D38012D745E4B22001F-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
martin@9697
    49
<!--FF8081812D744D38012D745E4B22001F--></AD_MESSAGE>
martin@9697
    50
martin@9697
    51
</data>