RedirectIfDiscarded causing 404 with the latest stable

Author Message

Denitsa M.

Monday 11 January 2010 3:29:55 am

Hi,

with latest merges for ezflow (and ezwebin) I see in frontpage edit override template (ezflow) and also in default edit template in ezwebin there is change in value for RedirectIfDescarded hidden variable, the third param is added into ezhttp() operator with value true(), and this causes operator to return boolean as value for RedirectIfDescarded. As result, during edit from public part of the site, redirection on discard puts you in url of the sort something1/something2/1 or something1/something2/0, where 1 and 0 are the interpreted booleans returned from ezhttp(). This ofcourse gives 404.

Am I in the wrong here, I missed something, or this has a purpose?

Thanks!

Deni

Iguana IT - http://www.iguanait.com

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 02:19:54
Script start
Timing: Jan 18 2025 02:19:54
Module start 'layout'
Timing: Jan 18 2025 02:19:54
Module start 'content'
Timing: Jan 18 2025 02:19:55
Module end 'content'
Timing: Jan 18 2025 02:19:55
Script end

Main resources:

Total runtime0.1112 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.6172152.6563
Module start 'layout' 0.00530.0037 742.273439.5078
Module start 'content' 0.00900.1009 781.7813429.7344
Module end 'content' 0.10990.0013 1,211.51568.1016
Script end 0.1112  1,219.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.8093160.0002
Check MTime0.00131.1552160.0001
Mysql Total
Database connection0.00060.560010.0006
Mysqli_queries0.074566.9554480.0016
Looping result0.00050.4584460.0000
Template Total0.074266.720.0371
Template load0.00262.326420.0013
Template processing0.071664.349520.0358
Template load and register function0.00010.101610.0001
states
state_id_array0.00191.732110.0019
state_identifier_array0.00110.983520.0005
Override
Cache load0.00211.847880.0003
Sytem overhead
Fetch class attribute can translate value0.00060.530210.0006
Fetch class attribute name0.00070.648110.0007
XML
Image XML parsing0.00020.163510.0002
class_abstraction
Instantiating content class attribute0.00000.004510.0000
General
dbfile0.00070.6279100.0001
String conversion0.00000.010140.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs