[TYPO3-ttnews] tx_news: related files

bernd wilke t3ng at bernd-wilke.net
Wed Jul 3 13:57:53 CEST 2013


Am 03.07.13 13:44, schrieb Christian Koeroesy:
> Hi,
>
> i have a question about the option "related files" of a news record:
>
>
> 1) I create a news record (in the default language) and a new related
> file (test.pdf) in the Relations tab -> the file is uploaded in
> /uploads/.../test.pdf
>
> 2) I save the news record.
>
> 3) Now i edit the record again and delete the related file (test.pdf).
>
> Now i create the same related file again -> the file is uploaded in
> /uploads/.../test_01.pdf
>
> test.pdf
> test_01.pdf
>
> So have a test_01.pdf even if i deleted the related file before.

old behaviour of TYPO3
this happens because the first file got deleted on the save, when the 
next file has been copied into that dir (with an unique number)

try this:
* delete related file
* save
* insert new file (with same name)


bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-project-tt-news mailing list