You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/11/21 22:43:43 UTC
DO NOT REPLY [Bug 43933] New: - Uploading an image in BXE added width and height attribute -> empty element
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
Summary: Uploading an image in BXE added width and height
attribute -> empty element
Product: Lenya
Version: 2.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Bitflux Integration
AssignedTo: dev@lenya.apache.org
ReportedBy: jann.forrer@id.unizh.ch
Adding an Image Element with BXE is leading to the following entry in the document:
<object data="lenya-document:a8fa0f90-9878-11dc-bb60-f59cc24ae6a4" height="267"
title="kaschaljpg" type="" width="401" />
However I then get an broken image :-( with the URL:
http://localhost:8080/lenya/default/authoring/tutorial/testform/jkl/kaschaljpg.jpg?lenya.module=svg&width=401&height=267
The image is displayed if I remove the width and height attributes from the
object element leading to:
http://localhost:8080/lenya/default/authoring/tutorial/testform/jkl/kaschaljpg.jpg
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From andreas@apache.org 2007-11-23 06:50 -------
I filed a Cocoon bug:
https://issues.apache.org/jira/browse/COCOON-2148
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From andreas@apache.org 2007-11-22 02:54 -------
Yesterday I used an action to pass the current source resolver to the
SourceProtocolHandler from the Batik block, which enabled source resolving. Then
we could just use the site:// protocol in the SVG, avoiding the http:// call.
A patch for the protocol handler was necessary, though, to avoid an NPE. I'll
start a discussion on cocoon-dev if the SourceProtocolHandler is supposed to work.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
andreas@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From andreas@apache.org 2007-11-26 07:51 -------
Should be fixed in revision 598318, please test.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From rfrovarp@apache.org 2007-11-21 20:19 -------
That means {request:serverPort} is the wrong value to be using. That will have
to be changed, not sure to what however.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - Uploading an image in BXE added width and height attribute -> empty element
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From jann.forrer@id.unizh.ch 2007-11-21 13:47 -------
thats probably not a BXE Bug. The problem also shows up if I added height and
width attributes to the object element by hand :-(
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From rfrovarp@apache.org 2007-11-21 13:57 -------
Context is doubled:
/webapp/webapp/default/authoring/tutorial/test.png HTTP/1.1" 404 1393 "-"
"Batik/ batik-1_6"
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From andreas@apache.org 2007-11-21 16:54 -------
Hmm, the localhost calls get the wrong port (Tomcat on port 8080, Apache as
proxy on port 80):
http://localhost:80/lenyatrunk/default/authoring/index/logo.jpg
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
rfrovarp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.0.1 |2.0
------- Additional Comments From rfrovarp@apache.org 2007-11-21 14:30 -------
Can someone test under a proxied environment? If it works, please close.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From jann.forrer@id.unizh.ch 2007-11-21 14:16 -------
What are the request parameters good for in the URL? If i remove them the jpg is
displayed:
Index: image2svg.xsl
===================================================================
--- image2svg.xsl (revision 597176)
+++ image2svg.xsl (working copy)
@@ -33,6 +33,7 @@
<xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
+<!--
<xsl:text>?</xsl:text>
<xsl:text>lenya.module=svg&</xsl:text>
<xsl:if test="string(../@height)">
@@ -41,6 +42,7 @@
<xsl:if test="string(../@width)">
<xsl:text>width=</xsl:text><xsl:value-of select="../@width"/>
</xsl:if>
+-->
</xsl:attribute>
</xsl:template>
@@ -50,4 +52,4 @@
</xsl:copy>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
------- Additional Comments From rfrovarp@apache.org 2007-11-21 14:26 -------
Fixed in r597232. Needs to be tested in proxied environment. Since scaling makes
the request via the localhost, the proxy call isn't needed. I think. Test in
non-proxied environment in both the root and non-root contexts.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43933] - SVG module doesn't work under non-root context
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43933
rfrovarp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Uploading an image in BXE |SVG module doesn't work
|added width and height |under non-root context
|attribute -> empty element |
------- Additional Comments From rfrovarp@apache.org 2007-11-21 13:54 -------
The cause is the svg module doesn't work under a non-root context. Probably
wouldn't work under a proxied context either. Haven't found the exact cause yet.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org