Forums / Developer / Bug? Cant preview file during approval...

Bug? Cant preview file during approval...

Author Message

Nicklas Lundgren

Thursday 01 October 2009 3:17:27 am

Hi,

I am developing a site where approval is required before publishing objects of a class called "Upload".

This class contains a textstring, a xml-block and an uploaded file.

When previewing such objects in My account/collaboration, the approver cant preview the file.

Selecting the link to the pdf-file, gives the following error:

The requested page could not be displayed. (3)

The requested object is not available.

Possible reasons:

* The ID number of the object is incorrect. Check the URL for spelling mistakes.
* The object is no longer available.

It cant have to do with roles/policies, as I have tried with an approver with access to all modules, all functions and without any limitations. Also the url to the object looks ok:
(...)/content/download/297/3193/version/1/file/testdocument.pdf

This issue describes exactly the same problem, but i am running eZ 4.1.3, so its really strange that this is coming up again several years later.
http://issues.ez.no/6918

Is this bug still alive??

Any ideas on how to handle this are welcome!

Best regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Nicklas Lundgren

Thursday 01 October 2009 4:23:21 am

This is a bug in 4.1.3 See http://issues.ez.no/IssueView.php?Id=15603&activeItem=1.

Solved it temporarily by replacing kernel/content/download.php for the version from eZ 3.8.0...

Cheers!

Nicklas Lundgren, Managing Director
Novitell AB, Sweden