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.
<?xml version='1.0' encoding='UTF-8'?>
<data>
<!--0611ACA6E69841D7AC7D7F34308E2780--><AD_MESSAGE>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_MESSAGE_ID><![CDATA[0611ACA6E69841D7AC7D7F34308E2780]]></AD_MESSAGE_ID>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <VALUE><![CDATA[OBJSON_InvalidFilterValue]]></VALUE>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <MSGTEXT><![CDATA[Invalid filter value %0.]]></MSGTEXT>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
<!--0611ACA6E69841D7AC7D7F34308E2780-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
<!--0611ACA6E69841D7AC7D7F34308E2780--></AD_MESSAGE>

<!--1F2DA42F35A7413BACE558B6C621980D--><AD_MESSAGE>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_MESSAGE_ID><![CDATA[1F2DA42F35A7413BACE558B6C621980D]]></AD_MESSAGE_ID>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <VALUE><![CDATA[OBJSON_NoPagedFetch]]></VALUE>
<!--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>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
<!--1F2DA42F35A7413BACE558B6C621980D-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
<!--1F2DA42F35A7413BACE558B6C621980D--></AD_MESSAGE>

<!--3038E4EC493149F08F9701F22B89176B--><AD_MESSAGE>
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_MESSAGE_ID><![CDATA[3038E4EC493149F08F9701F22B89176B]]></AD_MESSAGE_ID>
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--3038E4EC493149F08F9701F22B89176B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--3038E4EC493149F08F9701F22B89176B-->  <VALUE><![CDATA[OBJSON_InvalidProperty]]></VALUE>
<!--3038E4EC493149F08F9701F22B89176B-->  <MSGTEXT><![CDATA[The name %0 is invalid, use one of the following names: %1]]></MSGTEXT>
<!--3038E4EC493149F08F9701F22B89176B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
<!--3038E4EC493149F08F9701F22B89176B-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
<!--3038E4EC493149F08F9701F22B89176B-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
<!--3038E4EC493149F08F9701F22B89176B--></AD_MESSAGE>

<!--FF8081812D744D38012D745E4B22001F--><AD_MESSAGE>
<!--FF8081812D744D38012D745E4B22001F-->  <AD_MESSAGE_ID><![CDATA[FF8081812D744D38012D745E4B22001F]]></AD_MESSAGE_ID>
<!--FF8081812D744D38012D745E4B22001F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--FF8081812D744D38012D745E4B22001F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--FF8081812D744D38012D745E4B22001F-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--FF8081812D744D38012D745E4B22001F-->  <VALUE><![CDATA[OBJSON_StaleDate]]></VALUE>
<!--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>
<!--FF8081812D744D38012D745E4B22001F-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
<!--FF8081812D744D38012D745E4B22001F-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
<!--FF8081812D744D38012D745E4B22001F-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
<!--FF8081812D744D38012D745E4B22001F--></AD_MESSAGE>

</data>