Titlefunction "attach file" is missing after updating 2.4.15
Date13-Jul-2006 14:57:39 EEST
Bug criticalityCriticalBug
Browser versionmozilla
Bug statusClosedBug
PageProvider usedjspwiki.basicAttachmentProvider.storageDir = /p/web/www-data/jspwiki/
Servlet Containertomcat 5.5
Operating SystemWin 2000
Java version1.42

We worked with the release 2.2 and all was fine with the file attachment. Now the version 2.4.15 is installed and we lost all attached files and we are missing the function "attach files".

The web.xml file seems to be correct.

What's wrong?

Check that your jspwiki.properties has correct settings for attachments, and that your web.xml has been updated to the latest beta version web.xml. There have been significant changes...

-- JanneJalkanen

We are also having this problem. The Attach file function is completely missing. How can this be? We installed the 2.4.15-beta WAR as per usual.

--Arthur Gaudio, 03-Aug-2006

Do your users have access rights to upload files? Are you sure that your jspwiki.policy file is okay?

-- JanneJalkanen, 05-Aug-2006?

I put the wiki in C:\

I told the installer to use a directory called wiki\files when installing and of course it actually put them here: C:\p\web\www-data\jspwiki

So I moved them back to wiki\files and altered the properties file in C:\TomcatForWiki\Tomcat 5.5\webapps\wiki\WEB-INF thus: jspwiki.fileSystemProvider.pageDir =C:\ \wiki\ \files\ \web\ \www-data\ \jspwiki

I also changed the section on attachments and they sprung into life too!

This broke search however... AHA! not it isent.. its just lost all the tokens when I moved the files as new stuff is indexed ok... HOW di I force a re-index???

-- Tony Herstell, 08-Aug-2206

Search is reindexed if the lucene directory in jspwiki.workDir is not found. I.e. delete your lucene subdir, and restart. It'll take a while to index the pages, so let it run for a few minutes first before you try to search.

-- JanneJalkanen


-- Tony Herstell, 08-Aug-2206

I assume this means that this was resolved.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
debug.log4j 0.1 kB 1 27-Nov-2007 19:11 Log
« This page (revision-15) was last changed on 02-Sep-2006 00:37 by ardop