Strange redirect after creating an object

Author Message

Milad P

Sunday 27 July 2008 5:10:21 am

Hi,
I'm using svn revision 12135 (eZ 4.0.1) and I have found a strange problem. Every time after I create an object I always get redirected to the root node. The proper way should be that I would be redirected to the parent node of the new object.

Is this a setting issue? Has any one had this problem before?

Łukasz Serwatka

Tuesday 05 August 2008 12:55:18 am

Hi,

Do you use front-end or backend for editing your content? Are you able to reproduce it on current 4.0.0 as well?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Milad P

Tuesday 05 August 2008 1:28:51 am

I'm using the frontend. I have not tried these steps on the current 4.0.0. I will come back to you on this. I looked around in ezredirectmanager class and the session variable LastAccessessURI. As I understand my eZ never sets this session variable and therefore eZ always redirects to defaultNode.

If that is correct, what's the problem with my session variable?...

Łukasz Serwatka

Tuesday 05 August 2008 3:16:06 am

I quickly tested it with next 4.0.1rc2 release and ezwebin. Works fine. There must be some circumstances that affects your installation. It is difficult to say what exactly at this point.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Milad P

Tuesday 05 August 2008 6:09:16 am

Where do I find eZ 4.0.1rc2? Is it a svn version or does come as a installation package?

Łukasz Serwatka

Tuesday 05 August 2008 7:36:04 am

You can fetch it from here:
http://pubsvn.ez.no/nextgen/release/4.0.1/

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.0127 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0391152.6406
Module start 'layout' 0.00440.0024 740.679739.4766
Module start 'content' 0.00670.0040 780.156393.3359
Module end 'content' 0.01080.0019 873.492238.3047
Script end 0.0127  911.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002318.3927140.0002
Check MTime0.00118.4004140.0001
Mysql Total
Database connection0.00064.985810.0006
Mysqli_queries0.002015.853830.0007
Looping result0.00000.071310.0000
Template Total0.001713.310.0017
Template load0.00086.157810.0008
Template processing0.00097.149710.0009
Override
Cache load0.00054.303310.0005
General
dbfile0.00021.766380.0000
String conversion0.00000.041340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs