Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.2
-
None
-
None
Description
Hi
Intro:
I have a "decorator box" paragraphs that other, standard paragraphs can be embedded into. The purpose of the "decorator box" paragraph is to "wrap" other standard paragraphs with some fancy borders. The idea was taken from 2 Column paragraph in Magnolia Enterprise.
Problem:
1. When I use paragraph that has FCKeditor with image upload feature enabled it works great if that paragraph is a standalone (i.e. not in the nested, decorator box paragraph)
2. However, when I use the same paragraph nested inside of the "decorator box" paragraph, the uploaded image shows in the dialog but not in the content !!! The reason is because the URL for the image is wrong....
image URLs:
case 1 inside of editor (using source view): "/magnolia-cms/www-mydomain-org/demo/pc-ccol/04/content_files/file/www-img-placeholder.jpg"
case 1 from the content (using Firebug inspect): "http://mypc.mydomain.org/magnolia-cms/www-mydomain-org/demo/pc-ccol/04/content_files/file/www-img-placeholder.jpg"
case 2 inside of editor (using source view): "/magnolia-cms/www-mydomain-org/demo/pc-ccol/03/pc-decobox/0/content_files/file/www-img-placeholder.jpg"
case 2 from the content (using Firebug inspect): "03/pc-decobox/0/content_files/file/www-img-placeholder.jpg"
pc-ccol = Paragraph Collection Center Column
pc-decobox = Paragraph Collection Decorator Box
As you can see Magnolia does not properly render the image URL for the image uploaded via FCKeditor while in nested paragraph....Case 2 content URL is incomplete