In-Portal Issue Tracker - Advanced
Viewing Issue Advanced Details
923 [Advanced] General bug report always 2010-11-13 14:10 2010-11-30 12:50
Dmitry  
alex  
normal  
closed 1.1.1-B2  
fixed  
 
none 1.1.1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9e9f0d5728df6c95
Fixes bug with Adding Comment to Poll
0
0000923: Redirect to Poll Comments List isn't working after submitting a Comment
After adding a comment I am getting redirect to a Forbidden page. Just to remind that Adding the Comment and redirects are done with Ajax and I think issue is related to the fact that system tries to deal with
this .eml templates by adding .HTML to the end and then doing the Redirect.

index.php?env=-in-bulletin/elements/content_boxes/add_poll_comment.elm:m0-1-1-3-s-:poll\-comment----OnCreate:poll-1----&height=480&width=480&random=1288635201048

In results I am getting Redirect to:

/in-bulletin/elements/content_boxes/add_poll_comment.elm.html?height=480&width=480&random=1288635201048&env=poll%5C-comment----:poll-1----

NOTE by Alex:

Seems, that "showCallback" ThickBox parameter wasn't used at all. You should be using "onDataReceived" parameter instead.
patch poll_redirect_fix_themes.patch (4,174) 2010-11-13 14:10
http://tracker.in-portal.org/file_download.php?file_id=842&type=bug
Issue History
2010-11-30 12:50 Dmitry Note Added: 0003088
2010-11-30 12:50 Dmitry Status resolved => closed
2010-11-14 10:29 Dmitry File Deleted: poll_redirect_fix_modules.patch
2010-11-14 10:28 Dmitry Note Added: 0002975
2010-11-14 10:09 Dmitry Note Added: 0002974
2010-11-14 02:48 alex Note Added: 0002973
2010-11-14 02:48 alex Status reviewed and tested => resolved
2010-11-14 02:48 alex Fixed in Version => 1.1.1
2010-11-14 02:48 alex Resolution open => fixed
2010-11-14 02:48 alex Assigned To !COMMUNITY => alex
2010-11-14 02:48 alex Changeset attached 1.1.x r14059
2010-11-14 02:41 alex Developer Dmitry => alex
2010-11-13 16:05 Dmitry Note Added: 0002971
2010-11-13 16:05 Dmitry Assigned To => !COMMUNITY
2010-11-13 16:05 Dmitry Status needs testing => reviewed and tested
2010-11-13 16:05 Dmitry Developer alex => Dmitry
2010-11-13 16:05 Dmitry Status active => needs testing
2010-11-13 14:27 Dmitry Summary Can't submit Comment to Poll => Redirect to Poll Comments List isn't working after submitting a Comment
2010-11-13 14:11 Dmitry Developer => alex
2010-11-13 14:11 Dmitry File Added: poll_redirect_fix_modules.patch
2010-11-13 14:10 Dmitry New Issue
2010-11-13 14:10 Dmitry File Added: poll_redirect_fix_themes.patch
2010-11-13 14:10 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9e9f0d5728df6c95
2010-11-13 14:10 Dmitry Change Log Message => Fixes bug with Adding Comment to Poll

Notes
(0002971)
Dmitry   
2010-11-13 16:05   
Tested good - please commit.
(0002973)
alex   
2010-11-14 02:48   
Fix committed to 1.1.x branch. Commit Message:

Fixes 0000923: Redirect to Poll Comments List isn't working after submitting a Comment
(0002974)
Dmitry   
2010-11-14 10:09   
Reminder sent to: alex

Hi Alex,

What about Modules patch - any reason you haven't committed? Please comment here in this patch is not required.

Thanks,
(0002975)
Dmitry   
2010-11-14 10:28   
Sorry missed your comment in the Group about the Modules patch (no need for it). I am going to delete it from this task since no need to confuse users.

Thanks.
(0003088)
Dmitry   
2010-11-30 12:50   
Released.