Item8453: Attachments created with JHotDrawPlugin are not included
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Using
PublishPlugin (Version: 6036 (2010-01-12)) to generate a file copy (Content Generator: file) I've encountered the following problem:
If a drawing is created with
JHotDrawPlugin, it is not included in the published output.
Example:
- There is a topic called
TestTopic20
.
- Include a JHotDrawPlugin drawing:
%DRAWING{"blah"}%
- Use PublishPlugin to publish this particular topic (or the whole web containing this topic).
- The publishing process produces the following error:
ERROR: /home/httpd/foswiki/pub/Sandbox/TestTopic20/blah.gif?t=1265046788 is not readable
ERROR: MISSING RESOURCE Sandbox/TestTopic20/blah.gif?t=1265046788
- The file
blah.gif
is copied over and the link in the attachment table works. The link in the HTML document, however, doesn't work.
- The resulting HTML output for the link is the following:
<a href="../bin/rest/JHotDrawPlugin/edit.html">Edit</a><br /><img usemap="#blah" src="MISSING RESOURCE Sandbox/TestTopic20/blah.gif?t=1265046788" />
--
MartinKaufmann - 01 Feb 2010
This doesn't only affect
JHotDrawPlugin. Is also relevant if a skin other than
basic_publish
is used which includes the javascript files located in the header. I get the following error messages:
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.00 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.00
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.js?version=2.2 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/chili/jquery.chili.js?version=2.2
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.init.js?version=2.2 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/chili/jquery.chili.init.js?version=2.2
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/easing/jquery.easing.js?version=1.3 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/easing/jquery.easing.js?version=1.3
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/bgiframe/jquery.bgiframe.js?version=2.1.1 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/bgiframe/jquery.bgiframe.js?version=2.1.1
ERROR: /home/httpd/foswiki/pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630 is not readable
ERROR: MISSING RESOURCE System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630
--
MartinKaufmann - 04 Feb 2010
Pretty sure this should be cured now.
--
Main.CrawfordCurrie - 20 Apr 2017 - 17:56