On 03.10.2011 07:21, Jerome Caffaro wrote:
Hi!
On 10/02/2011 10:08 PM, Wagner, Alexander wrote:
The problem is not a wrong content/type, but entirely wrong content as
such.
You can usually get more information about what is happening in the
BibFormat engine by adding `verbose=9' to you URLs. You should see
then which template or piece of code is used to generate the output.
I followed those steps and found that Invenio was thinking that the
wrong format was actually a pre-stored one. I've no conclusion how it
came to that impression, but that also explains why reformatting the
formats in question fixed it: it was just overwritten with correct
values. I admit that at the current point I do not understand why/how
that happend. As we do the install via script I tried again with a
completely empty installation and it didn't reproduce there. So either
we screwed something in a pretty nasty way in the first place or its one
of those very nasty issues which are hardly reproducable.
I'll watch out if this reappears. I go over our installation steps from
time to time on a virtual testing box.
Note that the unexpected output is probably generated by a template
in WebSearch, on which BibFormat falls back when an exception occurs
and prevents the regular formatting to take place. In these cases the
exception is registered and should be reported to you by email (and
printed to invenio.err, grep for 'formatting record').
No errors were thrown.
--
Kind regards,
Alexander Wagner
Subject Specialist
Central Library
52425 Juelich
mail : [email protected]
phone: +49 2461 61-1586
Fax : +49 2461 61-6103
http://www.fz-juelich.de/zb/mitarbeiter/fachinformation#wagner
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------