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 ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000922 [In-Portal CMS] Front End bug report always 2010-11-13 12:47 2011-03-30 09:53
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.2-B1
Status closed Product Version 5.1.1-RC1 Target Version 5.1.2
Time EstimateNo estimate
Summary 0000922: Redirects during AJAX requests in debug mode are not processed
Description When inside AJAX request, then In-Portal don't perform regular redirect via "Location:" header, since it could break whole ajax request.

Instead of that ajax responce in form "#redirect#new_url_here" is returned. In case, when debug mode is enabled, then responce becomes "#redirect#new_url_here some_debugger_report_part_ here". This prevents proper redirect url to be parsed.

I propose to replace "^#redirect#(.*)" regular expression to "^#redirect#(.*?)($|\\s)" and this way problem will be solved.


Problem ONLY happens, when debug mode is enabled.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/7f69531694d6d415
Change Log Message Fixes AJAX redirect in debug mode
Estimate Points 0
Attached Files patch file icon ajax_redirect_fix_core.patch [^] (2,716 bytes) 2010-11-13 12:47 [Show Content]
patch file icon ajax_redirect_fix_modules.patch [^] (1,563 bytes) 2010-11-13 12:47 [Show Content]
patch file icon ajax_redirect_fix_themes.patch [^] (1,733 bytes) 2010-11-13 12:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002972)
Dmitry (manager)
2010-11-13 16:11

Tested good, please commit.
User avatar (0003188)
alex (manager)
2011-01-09 13:38

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000922: Redirects during AJAX requests in debug mode are not processed
User avatar (0003344)
Dmitry (manager)
2011-03-30 09:53

Closing, since 5.1.2 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14144
Timestamp: 2011-01-09 13:38:25
Author: alex
Details ] Diff ]
Fixes 0000922: Redirects during AJAX requests in debug mode are not processed
mod - /in-portal/branches/5.1.x/core/admin_templates/js/ajax.js Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/js/frame_resizer.js Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/js/jquery/thickbox/thickbox.js Diff ] File ]
Themes :: OnlineStore: 1.1.x r14143
Timestamp: 2011-01-09 13:37:32
Author: alex
Details ] Diff ]
Bug 0000922: Redirects during AJAX requests in debug mode are not processed
mod - /themes/onlinestore/branches/1.1.x/inc/ajax.js Diff ] File ]
Themes :: Advanced: 1.1.x r14142
Timestamp: 2011-01-09 13:37:16
Author: alex
Details ] Diff ]
Bug 0000922: Redirects during AJAX requests in debug mode are not processed
mod - /themes/advanced/branches/1.1.x/platform/inc/ajax.js Diff ] File ]
mod - /themes/advanced/branches/1.1.x/platform/inc/jquery/thickbox/thickbox.js Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-03-30 09:53 Dmitry Note Added: 0003344
2011-03-30 09:53 Dmitry Status resolved => closed
2011-01-09 13:38 alex Note Added: 0003188
2011-01-09 13:38 alex Status reviewed and tested => resolved
2011-01-09 13:38 alex Fixed in Version => 5.1.2-B1
2011-01-09 13:38 alex Resolution open => fixed
2011-01-09 13:38 alex Assigned To !COMMUNITY => alex
2011-01-09 13:38 alex Changeset attached 5.1.x r14144
2011-01-09 13:37 alex Changeset attached 1.1.x r14143
2011-01-09 13:37 alex Changeset attached 1.1.x r14142
2011-01-09 13:36 alex Changeset attached 5.1.x r14141
2010-11-13 16:11 Dmitry Note Added: 0002972
2010-11-13 16:11 Dmitry Status needs testing => reviewed and tested
2010-11-13 16:11 Dmitry Description Updated View Revisions
2010-11-13 12:48 alex Assigned To => !COMMUNITY
2010-11-13 12:48 alex Developer => alex
2010-11-13 12:48 alex Status active => needs testing
2010-11-13 12:47 alex File Added: ajax_redirect_fix_themes.patch
2010-11-13 12:47 alex File Added: ajax_redirect_fix_modules.patch
2010-11-13 12:47 alex File Added: ajax_redirect_fix_core.patch
2010-11-13 12:47 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/7f69531694d6d415
2010-11-13 12:47 alex Change Log Message => Fixes AJAX redirect in debug mode
2010-11-13 12:47 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