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!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
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 Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.0.1
Status closed Product Version 5.0.0 Target Version 5.0.1
Time EstimateNo estimate
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.
Tags No tags attached.
Reference
Change Log Message
Estimate Points 0
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0000454)
Dmitry (manager)
2009-09-16 09:53

I believe we should implement 2nd option now and spend more time in future release on 1st option which would be useful to everyone.
User avatar (0000468)
alex (manager)
2009-09-16 13:24

Fix committed to 5.0.x branch. Commit Message:

Fixes 0000300: Redirect loop (on front-end) while using "View in Browse Mode" link
User avatar (0000738)
administrator (administrator)
2009-10-03 07:57

Closing issues from 5.0.1 version, because version was already released.

- Related Changesets
In-Portal CMS: 5.0.x r12536
Timestamp: 2009-09-16 13:24:23
Author: alex
Details ] Diff ]
Fixes 0000300: Redirect loop (on front-end) while using "View in Browse Mode" link
mod - /in-portal/branches/5.0.x/core/kernel/db/db_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-10-03 07:57 administrator Note Added: 0000738
2009-10-03 07:57 administrator Status resolved => closed
2009-09-16 13:24 alex Fixed in Version => 5.0.1
2009-09-16 13:24 alex Note Added: 0000468
2009-09-16 13:24 alex Status reviewed and tested => resolved
2009-09-16 13:24 alex Resolution open => fixed
2009-09-16 13:24 alex Changeset attached 5.0.x r12536
2009-09-16 10:43 Dmitry Target Version 5.0.2 => 5.0.1
2009-09-16 09:54 Dmitry Target Version => 5.0.2
2009-09-16 09:53 Dmitry Note Added: 0000454
2009-09-16 09:53 Dmitry Assigned To => alex
2009-09-16 09:53 Dmitry Status active => reviewed and tested
2009-09-16 06:07 alex New Issue



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

Powered by Mantis Bugtracker