Issue Details (XML | Word | Printable)

Key: CONF-7601
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Agnes Ro [Atlassian]
Reporter: Chris Kohlhardt
Votes: 5
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Confluence

Images produced by macro plugins like Gliffy are not generated into .doc or .html exports

Created: 08/Jan/07 09:05 PM   Updated: 27/May/08 11:38 PM
Component/s: Plugins
Affects Version/s: 2.2.9
Fix Version/s: 2.6.2

Time Tracking:
Not Specified

Environment: all
Issue Links:
Cause
 
Duplicate
 
Reference
Regression
 

Participants: Agnes Ro [Atlassian], Chris Kohlhardt, David Ruddock, Don Willis [Atlassian], Jonathan Nolen [Atlassian], Matt Ryall [Atlassian] and Tiffany Bartlett
Since last comment: 19 weeks, 5 days ago
Resolution Date: 08/Nov/07 05:56 PM
Labels:


 Description  « Hide
In the Gliffy plugin, we generate images on the fly via our included servlet plugin.

When exporting in .doc or .html formats, the diagram images are not picked up in the exported files.

We were able to work around this issue with PDF export by checking for RenderContextOutputType.PDF. When RenderContextOutputType.PDF is being used, we have our macro point to the file system which seems to work.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Ruddock added a comment - 14/Feb/07 03:39 AM
A MimeTex maths formula plugin also doesn't render to HTML because of this issue.

David Ruddock added a comment - 14/Feb/07 03:40 AM
Same issue present in exports from the graphviz plugin

Agnes Ro [Atlassian] added a comment - 29/Jun/07 12:49 AM
Fixed.

Chris Kohlhardt added a comment - 29/Jun/07 11:16 AM
Great news to see this fixed! We have customers who are very much looking forward to this.... Will a pre-release version of Confluence 2.6 be available for us to test with?

thanks!

-chrisk
Gliffy Inc.


Agnes Ro [Atlassian] added a comment - 04/Jul/07 01:58 AM
Yes, we hope to have dev releases available two weeks before the actual release of Confluence 2.6

Agnes.


Chris Kohlhardt added a comment - 22/Oct/07 01:45 PM
Hi Agnes,

Can you please explain how you fixed this issue? I'm not able to find any documentation as to how we can verify and in turn fix this on our end.

thanks!

-chris


Matt Ryall [Atlassian] added a comment - 22/Oct/07 06:19 PM
Confluence queries itself to render the macro as an image, just like it does for normal page rendering. You shouldn't need to do anything special to support this in 2.6.0.

However, there is a known bug preventing this working correctly on Resin 3: CONF-9659.


Chris Kohlhardt added a comment - 22/Oct/07 06:50 PM
Hi Matt,

Thanks for the quick response.

This isn't working for us just yet. A 0 byte file is being included in the .zip achieve instead of a valid image file.

How does Confluence know it's supposed to query itself and then pull the image into the zip file? Does it expect a special mime type or filename extension (such as .jpg) for the image src URL to figure that out?

thanks!

-chris


Chris Kohlhardt added a comment - 24/Oct/07 12:27 PM
Hi Matt,

Any ideas why this fix isn't working for us?

thanks!

-chris


Tiffany Bartlett added a comment - 24/Oct/07 12:51 PM
Do none of your images export to Word, or just the ones created by Gliffy?

This may be a security issue-- I have to give anonymous access permission to view before I export to Word in order to get images to show.

Hope that helps,
Tiffany


Chris Kohlhardt added a comment - 24/Oct/07 01:05 PM
Hi Tiffany,

Thanks for the idea.

Changing permissions isn't really an option for us. The Gliffy plugin which we've created has to play nice with any permission setup that a customer has in place. We certainly don't want to override their permissions.

thanks though!

-chris


Matt Ryall [Atlassian] added a comment - 24/Oct/07 07:50 PM
Chris, I'm not sure. I'm investigating the failures this caused at the moment (CONF-9659), so I'm not sure we won't have to roll this back and find a better solution.

I'll reopen this issue until we can confirm that it is fixed for you.


Matt Ryall [Atlassian] added a comment - 24/Oct/07 07:58 PM
Reopening. There are a few serious bugs with this implementation, and it also doesn't seem to work as advertised in all situations.

(To be fair, much of this is due to the fact that space export was made a long-running task at the same time. The operations causing the current bugs are fine if done on the same thread.)


Chris Kohlhardt added a comment - 24/Oct/07 08:41 PM
Thanks for the update Matt. Please let me know if there is anything I can do to assist.

-chris


Agnes Ro [Atlassian] added a comment - 08/Nov/07 05:56 PM
This problem has been re-fixed for 2.6.2.

2.7 will have the proper fix is being monitored in a separate issue, CONF-9896.


Chris Kohlhardt added a comment - 08/Nov/07 06:59 PM
Will this fix require action on the part of plugin developers who are currently experiencing this bug?

thanks

-chrisk @ gliffy


Agnes Ro [Atlassian] added a comment - 08/Nov/07 07:14 PM
The patch for 2.6 is only a temporary fix and will no need any additional work from plugin developers.

However, the fix for 2.7 will require plugin developers to use the new manager to write/store the macro image content. This manager will also be responsible for the retrieval of macro image content (for exports).
I will try to write some documentation for plugin developers on this, once released.

Agnes.


Tiffany Bartlett added a comment - 17/Jan/08 09:26 AM
Is this fix supposed to render LaTeX images created by the LaTeX plugin in Word as well (version 2.6.2)?

That was my understanding, but I have now upgraded to v. 2.6.2 and I still don't get any LaTeX images in my Word docs.

Thanks,
Tiffany


Jonathan Nolen [Atlassian] added a comment - 17/Jan/08 11:52 AM
Hi Tiffany, See the comment above – the plugin developers needs to implement some changes on their side as well to take advantage of this capability. You should contact the original developer of the latex plugin.

Don Willis [Atlassian] added a comment - 27/May/08 11:38 PM