legal/ANTLR-3.txt
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 1738 d8dcb2ecfd14
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.
ivan@1738
     1
ANTLR 3 License
ivan@1738
     2
ivan@1738
     3
[The BSD License] Copyright (c) 2003-2008, Terence Parr All rights reserved.
ivan@1738
     4
ivan@1738
     5
Redistribution and use in source and binary forms, with or without
ivan@1738
     6
modification, are permitted provided that the following conditions are met:
ivan@1738
     7
ivan@1738
     8
    * Redistributions of source code must retain the above copyright notice,
ivan@1738
     9
    this list of conditions and the following disclaimer.  * Redistributions
ivan@1738
    10
    in binary form must reproduce the above copyright notice, this list of
ivan@1738
    11
    conditions and the following disclaimer in the documentation and/or
ivan@1738
    12
    other materials provided with the distribution.  * Neither the name
ivan@1738
    13
    of the author nor the names of its contributors may be used to endorse
ivan@1738
    14
    or promote products derived from this software without specific prior
ivan@1738
    15
    written permission.
ivan@1738
    16
ivan@1738
    17
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
ivan@1738
    18
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
ivan@1738
    19
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
ivan@1738
    20
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ivan@1738
    21
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
ivan@1738
    22
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
ivan@1738
    23
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ivan@1738
    24
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
ivan@1738
    25
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
ivan@1738
    26
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.