Closed GoogleCodeExporter closed 8 years ago
Can you please check which version of the Freemarker JAR is installed in the
Alfresco webapp?
On Tomcat, after you've run Alfresco at least once, this can be achieved via
the following commands:
cd <path to Alfresco directory>
ls tomcat/webapps/alfresco/WEB-INF/lib/freemarker-*.jar
Here's the output from Alfresco Enterprise 3.4SP5:
tomcat/webapps/alfresco/WEB-INF/lib/freemarker-2.3.18-patched.jar
The reason I ask is that the iso_utc builtin was added in Freemarker v2.3.17,
so you need at least that version in order for the status template to work.
It's possible (though surprising) that Alfresco Community 3.4 and Alfresco
Enterprise 3.4 have different versions of the Freemarker JAR. Alternatively
you may be picking up an earlier version from somewhere else (e.g. the JRE's
lib/ext directory, via CLASSPATH settings in the Alfresco or Tomcat startup
scripts, etc.).
Original comment by pmo...@gmail.com
on 20 Mar 2013 at 2:59
yes, mine community 3.4.d is freemarker-2.3.16-patched.jar,
after changed to freemarker-2.3.18-patched.jar, everything works fine.
thanks
Original comment by freeport...@gmail.com
on 20 Mar 2013 at 4:01
Hi!
Could you please give me the link where I can download this
free-2.3.18-patched.jar,
because the ones I downloaded keep the same error...
Thank you
Original comment by samia.ec...@business-index.fr
on 2 Aug 2013 at 11:31
freemarker-2.3.18-patched.jar is available from a newer version of Alfresco (at
least v3.4SP5, but possibly earlier versions), or from the Alfresco artifacts
repository:
https://artifacts.alfresco.com/nexus/index.html#nexus-search;quick~freemarker
Original comment by pmo...@gmail.com
on 2 Aug 2013 at 4:09
I'm marking this as "won't fix", since the JAR in question has already been
updated in Alfresco Enterprise v3.4 (at least as of SP5, and possibly earlier
versions as well).
Original comment by pmo...@gmail.com
on 2 Aug 2013 at 4:09
If the latest Community 3.4 version continues to use the older freemarker JAR,
I'd suggest raising a JIRA at http://issues.alfresco.com and requesting a new
release of Community 3.4 that upgrades that JAR to match Enterprise 3.4.
Original comment by pmo...@gmail.com
on 2 Aug 2013 at 4:10
Even when downloading the freemarker..18 from
https://artifacts.alfresco.com/nexus/index.html#nexus-search;quick~freemarker
It still shiws the 500 error
Original comment by esamia1...@gmail.com
on 5 Aug 2013 at 9:27
When I click on import, that's what is shown :
Alfresco Web Script Status 500 - Internal Error
The Web Script /alfresco/service/bulk/import/filesystem/status has responded
with a status of 500 - Internal Error.
500 Description: An error inside the HTTP server which prevented it from
fulfilling the request.
Message: 07050057 Failed to retrieve template
org/alfresco/extension/bulkfilesystemimport/status.get.html.ftl
Exception: freemarker.core.ParseException - Error on line 165, column 45, in
template org/alfresco/extension/bulkfilesystemimport/status.get.html.ftl Found
iso_utc, expecting one of: chunk, is_date, last, root, j_string, round,
contains, is_hash, long, float, ends_with, namespace, matches, time, values,
seq_last_index_of, uncap_first, byte, substring, is_transform, web_safe,
groups, seq_contains, is_macro, index_of, word_list, int, is_method, eval,
parent, xml, number, capitalize, if_exists, rtf, node_type, double,
is_directive, url, size, default, floor, ceiling, is_boolean, split, node_name,
is_enumerable, seq_index_of, is_sequence, sort, is_node, sort_by, left_pad,
xhtml, cap_first, interpret, children, node_namespace, chop_linebreak, date,
short, last_index_of, is_collection, ancestors, length, trim, datetime,
is_string, reverse, c, keys, upper_case, js_string, has_content, right_pad,
replace, is_hash_ex, new, is_number, lower_case, is_indexable, string, exists,
html, first, starts_with in
org/alfresco/extension/bulkfilesystemimport/status.get.html.ftl
Original comment by esamia1...@gmail.com
on 5 Aug 2013 at 11:16
it works finally!
thank you
Original comment by esamia1...@gmail.com
on 6 Aug 2013 at 10:19
Original issue reported on code.google.com by
freeport...@gmail.com
on 20 Mar 2013 at 2:02