The solution seems dead simple:
In line #127 of bfe_fulltext.py,
out += " ".join(url_list) + additional_str + versions_str + separator
must move a few spaces, to be aligned with "for url, url_format in
urls_and_format"
or, else it gets executed only for the last filename in the dict.
Can you verify this?
Best regards,
Theodoros
On 29/5/2012 5:18 μμ, Theodoros Theodoropoulos wrote:
Hello everyone,
I think I've stumbled upon a small 'bug' in the bfe_fulltext.py
In order to reproduce it you need a record with 1 main file AND -at
least one- additional file.
Then test a format template that uses bfe_fulltext and add
focus_on_main_file="no"
As an example, i used HTML brief, and added:
<BFE_FULLTEXT prefix='<br /><small>' style="note" show_icons="yes"
suffix="</small>" focus_on_main_file="no" />
If I'm correct, you'll see that the list of files is not handled
properly and you get some garbled text and then the link for only the
last attached file.
I've checked against our production server (v0.99.x), and a test
server that has the stock installation of the latest master and I get
the same results.
Can you reproduce it, or am I doing something wrong?
Best regards,
Theodoros