In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000300 [In-Portal CMS] Front End bug report sometimes 2009-09-16 06:07 2009-10-03 07:57
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000300: Redirect loop (on front-end) while using "View in Browse Mode" link
Description All actions should be done in catalog in administrative console.

1. Create any section with Pending status under Directory section.
2. Place Active/Pending link there.
3. Click on "View in Browse Mode" link.

There will be redirect loop and that is guaranteed by 2 circumstances:
1. when not owner is visiting pending link, then he is redirected to no permission template.
2. When viewing pending/disabled category then he is redirected to no permission template.

During redirect to no permission template category is kept, and is asked on no permission template itself resulting infinite redirect loop.
Additional Information I see two ways how to fix this:
1. somehow to predict, that next redirect will create a loop with previous one (kind of hard, otherwise would be fixed some time ago).
2. don't perform redirect to "no permission" template and allow admin to see all kinds of data, that normally would lead to "no permission" template redirect.

2nd case won't affect direct permission checking inside tags, where redirect is not performed. Also for 2nd case in all places where redirect to no permission template could take place we should not perform it and continue with data processing like in case if user actually has permission to perform requested action.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker