config/userconfig.xml.template
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 11570 b5630110dd82
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.
juanpablo@538
     1
<?xml version="1.0" encoding="UTF-8" ?>
juanpablo@538
     2
<!--
juanpablo@538
     3
 *************************************************************************
jordi@1473
     4
 * The contents of this file are subject to the Openbravo Public License 
juanpablo@538
     5
 * Version 1.1 (the "License"), being the Mozilla Public License 
juanpablo@538
     6
 * version 1.1  with a permitted attribution clause ; you may not use 
juanpablo@538
     7
 * this file except in compliance with the License. 
juanpablo@538
     8
 * You may obtain a copy of the License at  
juanpablo@538
     9
 * http://www.openbravo.com/legal/license.txt 
juanpablo@538
    10
 * Software distributed under the License is distributed on an 
juanpablo@538
    11
 * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
juanpablo@538
    12
 * implied. See the License for the specific language governing rights 
juanpablo@538
    13
 * and  limitations under the License. 
jordi@1473
    14
 * The Original Code is Openbravo ERP. 
ggi@6702
    15
 * The Initial Developer of the Original Code is Openbravo SLU 
ggi@6702
    16
 * All portions are Copyright (C) 2005-2007 Openbravo SLU 
juanpablo@538
    17
 * All Rights Reserved. 
ggi@6702
    18
 * Contributor(s): Openbravo S.L.U.
juanpablo@538
    19
 ************************************************************************
juanpablo@538
    20
-->
juanpablo@538
    21
juanpablo@538
    22
<!--<!DOCTYPE configuration SYSTEM "config.dtd">-->
juanpablo@538
    23
<!-- 
juanpablo@538
    24
     this file contains templates which allow an user easy 
juanpablo@538
    25
     configuration of Fop. Actually normally you don't need this configuration 
juanpablo@538
    26
     file, but if you need to change configuration, you should
juanpablo@538
    27
     always use this file and *not* config.xml. 
juanpablo@538
    28
     Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
juanpablo@538
    29
-->
juanpablo@538
    30
juanpablo@538
    31
juanpablo@538
    32
<configuration>
juanpablo@538
    33
juanpablo@538
    34
<!--  
juanpablo@538
    35
baseDir: normally the base directory is the directory where the fo file is 
juanpablo@538
    36
         located. if you want to specify your own, uncomment this entry.
juanpablo@538
    37
         This value can also be a URL. Actually, the value is converted to 
juanpablo@538
    38
         a URL.
juanpablo@538
    39
-->
juanpablo@538
    40
<!-- 
juanpablo@538
    41
  <entry>
juanpablo@538
    42
    <key>baseDir</key>
juanpablo@538
    43
    <value></value>
juanpablo@538
    44
  </entry>
juanpablo@538
    45
-->
juanpablo@538
    46
juanpablo@538
    47
<!--  
juanpablo@538
    48
fontBaseDir: Similar to baseDir, except that this value is used for fonts. If
juanpablo@538
    49
         it isn't specified, the value from baseDir is used.
juanpablo@538
    50
-->
juanpablo@538
    51
<!--
juanpablo@538
    52
  <entry>     
juanpablo@538
    53
    <key>fontBaseDir</key>      
juanpablo@538
    54
    <value>/tmp</value>    
juanpablo@538
    55
  </entry>
juanpablo@538
    56
-->
juanpablo@538
    57
juanpablo@538
    58
</configuration>