02-16-2018 09:52 AM
Hi,
I'm trying to update my-tasks.get.html.ftl file on one of my Tomcat, but I when I log in I cannot see any changes. I'm simply trying to add another button (<span> element) in this file, and I have uploaded the modified version inside :
d:\alfresco-community\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\
But it doesn't work - old content is still shown. When I log out and log in again, I can still see the old version of my dashlet. I've tried everything :
- restarted Tomcat - nothing
- removed and re-added dashlet again - still the same
- went to share/page/index and clicked "Refresh Web Scripts" blue button at the bottom - still the same
- went to alfresco/service/index and clicked on the same button - again, not updated
i haven't modified anything else.
Am I missing something? How can I update this HTML presentation part of my tasks dashlet?
I'm using Alfresco Community 5.2 installed on Windows 7 as a service.
Thanks in advance
02-22-2018 01:24 PM
Just realized problem was smth completely else. I tottaly forgot I had an extra share JAR module installed (it's in WEB-INF\lib under share) and it had another copy of this file, clearly unmodified. This version takes presence over anything that's inside share.war (and tomcat\shared as well). This copy didn't show in my file searches because it was inside JAR file (module).
I can now finally close this thread.
02-22-2018 01:24 PM
Just realized problem was smth completely else. I tottaly forgot I had an extra share JAR module installed (it's in WEB-INF\lib under share) and it had another copy of this file, clearly unmodified. This version takes presence over anything that's inside share.war (and tomcat\shared as well). This copy didn't show in my file searches because it was inside JAR file (module).
I can now finally close this thread.
02-21-2020 11:44 AM
Could be useful:
I had the same issue with no problems on the jars. The error was on the alf_data_dev which was no updated and contained an older version of the .ftl. I deleted the folder alf_data_dev and restarted the application to solve the problem
02-24-2020 04:34 AM
Hi @baki1983 ,
Glad you got it sorted & thanks for updating us on how your resolved it - can be really useful to other users in a similar situation.
Explore our Alfresco products with the links below. Use labels to filter content by product module.