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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 03:00:06
Script start
Timing: Jan 18 2025 03:00:06
Module start 'layout'
Timing: Jan 18 2025 03:00:06
Module start 'content'
Timing: Jan 18 2025 03:00:07
Module end 'content'
Timing: Jan 18 2025 03:00:07
Script end

Main resources:

Total runtime0.6583 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0156152.6250
Module start 'layout' 0.00590.0039 740.640639.4453
Module start 'content' 0.00980.6468 780.0859493.6563
Module end 'content' 0.65660.0017 1,273.74228.1406
Script end 0.6583  1,281.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.6439160.0003
Check MTime0.00150.2220160.0001
Mysql Total
Database connection0.00090.139410.0009
Mysqli_queries0.604991.8781520.0116
Looping result0.00040.0675500.0000
Template Total0.625595.020.3127
Template load0.00210.312920.0010
Template processing0.623494.694220.3117
Template load and register function0.00010.018110.0001
states
state_id_array0.00140.214910.0014
state_identifier_array0.00120.176020.0006
Override
Cache load0.00160.2480270.0001
Sytem overhead
Fetch class attribute can translate value0.00080.128510.0008
Fetch class attribute name0.00090.140730.0003
XML
Image XML parsing0.00140.216810.0014
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00280.4243170.0002
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs