[Product-Developers] [plone.app.imaging] should image URLs be traversable?

ajung lists at zopyx.com
Tue Feb 26 13:20:58 UTC 2013


Hi,

a Plone 4.2.3 site contains an image with

src="onkopedia/de/onkopedia/redaktion/contents/onkopedia/mammakarzinom-der-frau/tmpIahfvN_2.jpg/@@images/5c491048-dfbf-4f9d-b049-f63683d666d3.jpeg"

The image renders happily side the browser.

However trying to traverse the URL does not work:

>>> app.unrestrictedTraverse('/onkopedia/de/onkopedia/redaktion/contents/onkopedia/mammakarzinom-der-frau/tmpIahfvN_2.jpg/@@images/5c491048-dfbf-4f9d-b049-f63683d666d3.jpeg')

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File
"/home/dgho/onkopedia-test/eggs/Zope2-2.13.19-py2.6.egg/OFS/Traversable.py",
line 300, in unrestrictedTraverse
    raise e
NotFound: 5c491048-dfbf-4f9d-b049-f63683d666d3.jpeg


Is this intentional? I can traverse down to @@images but not any further.

 Bug for feature?

Andreas



--
View this message in context: http://plone.293351.n2.nabble.com/plone-app-imaging-should-image-URLs-be-traversable-tp7563495.html
Sent from the Product Developers mailing list archive at Nabble.com.


More information about the Product-Developers mailing list