Forums / General / Strange redirect after creating an object

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

eZ debug

Timing: Jan 18 2025 11:01:49
Script start
Timing: Jan 18 2025 11:01:49
Module start 'content'
Timing: Jan 18 2025 11:01:50
Module end 'content'
Timing: Jan 18 2025 11:01:50
Script end

Main resources:

Total runtime1.0223 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.9688180.8203
Module start 'content' 0.00610.8673 769.7891571.0703
Module end 'content' 0.87340.1488 1,340.8594337.3750
Script end 1.0222  1,678.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3786210.0002
Check MTime0.00140.1358210.0001
Mysql Total
Database connection0.00080.074710.0008
Mysqli_queries0.939891.93152030.0046
Looping result0.00210.20282010.0000
Template Total0.987896.620.4939
Template load0.00190.183720.0009
Template processing0.985996.447220.4930
Template load and register function0.00020.019810.0002
states
state_id_array0.00300.289210.0030
state_identifier_array0.00130.128320.0007
Override
Cache load0.00160.1534220.0001
Sytem overhead
Fetch class attribute can translate value0.00150.144130.0005
Fetch class attribute name0.00150.147770.0002
XML
Image XML parsing0.00090.090930.0003
class_abstraction
Instantiating content class attribute0.00000.001990.0000
General
dbfile0.00590.5807290.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs