[MAGNOLIA-1601] Flash Uploads in Rich Editor Not Published Created: 18/Jun/07  Updated: 23/Jan/13  Resolved: 30/Nov/07

Status: Closed
Project: Magnolia
Component/s: gui
Affects Version/s: 3.0.2
Fix Version/s: 3.5 RC2

Type: Bug Priority: Major
Reporter: Sean McMains Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File flashFix.11254.diff     File flashFix.diff    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When one uses FCKEditor paragraphs and uploads a Flash document, the flash file is never moved from FCKEditor's /tmp director to a JCR node as it should be (and as it is with image and file uploads).

To reproduce:

1. Create a new Rich Editor paragraph.
2. Click the Flash button
3. Click upload tab. Browser for SWF file. Click Send it to the Server.
4. SWF is uploaded, displays in Preview window.
5. Click Ok in Flash properties window, then Save in Rich Editor Window.

Expected behavior:

When the Rich Editor dialog is saved, the /tmp files should be persisted to a content node and Magnolia's URL handling should ensure that the embed tag points to the right place.

Actual behavior:

In the JCR browser, the file is never put into the content_files node. Magnolia's URL handling also never takes over, and the HTML continues to point to the /tmp directory.

Because the SWF doesn't exist in the JCR repository, it doesn't go to the public instance when that paragraph is published. So, to the user, it looks ok on edit, but then breaks on publish. (Really, it's broken all along, but in such a way that one wouldn't notice.)



 Comments   
Comment by Sean McMains [ 18/Jun/07 ]

Argh! This one got away from me before I set all the fields. Sorry about that.

This affects version 3.0.2 – I tested on a clean bundle download.

Comment by Sean McMains [ 30/Aug/07 ]

Any progress on this? It would surely be nice to be able to include Flash content in a page.

If it's not going to get fixed, then at least turning FCKEditor's flash button off would be a good idea so that users don't get the idea that they can successfully use Flash when that's not the case.

Comment by Jeff Snider [ 12/Sep/07 ]

A patch to add the embed tag to the file persistence handler in SaveHandlerImpl class.

Comment by Jeff Snider [ 12/Sep/07 ]

Well, I suppose it would be more helpful to submit a patch against your repository, rather than ours. Diff file added that is a diff from r11254 on svn.magnolia.info.

Generated at Mon Feb 12 03:28:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.