Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359889 - Adding text content should take to the question page after saving
Summary: Adding text content should take to the question page after saving
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: RecruitingWebapp (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joachim Bartosik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 08:41 UTC by Petteri Räty (RETIRED)
Modified: 2013-04-08 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2011-03-22 08:41:03 UTC
Steps to reproduce:

1. go to approve questions page
2. go the question to approve
3. add text content
4. save
5. I am on my user front page

I should be on the show page of the question
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2011-11-05 18:36:44 UTC
Same for editing
Comment 2 Tri Nguyen 2012-03-27 19:45:12 UTC
Hi,
I fixed the bug by adding the following line to redirect submit to the desired place.
<after-submit uri="#{'/questions/' + QuestionContentText.find(params[:id]).question_id.to_s if not params[:id].nil?}"/>

It doesn't look nice but it got the job done. Let me know if this fix is acceptable.

Thanks,
Tri Nguyen.
Comment 3 Joachim Bartosik (RETIRED) gentoo-dev 2013-04-08 22:00:47 UTC
The application is no longer maintained or used.