Bug 909055 - Get error page when change idea status to completed as admin user at the first time
Summary: Get error page when change idea status to completed as admin user at the firs...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 06:23 UTC by Shirley Zhou
Modified: 2015-05-15 01:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-20 03:34:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error page (38.55 KB, image/png)
2013-02-08 06:23 UTC, Shirley Zhou
no flags Details
blank_page (141.21 KB, image/png)
2013-04-11 09:42 UTC, weiwei jiang
no flags Details

Description Shirley Zhou 2013-02-08 06:23:59 UTC
Created attachment 694954 [details]
error page

Description of problem:
When change idea status from new to completed as admin user, get error page at the first time, and then reload this page, then change status, pass.

Version-Release number of selected component (if applicable):
Stage(devenv-stage_283) - 2013-02-08

How reproducible:
100%

Steps to Reproduce:
1.create a new vote with normal user
2.change admin user to login
3.change this vote's status from new to Completed
  
Actual results:
Get error page as attachment. And the reload, change again, can change successfully. 

Expected results:
No error page, can change status at the first time.

Additional info:

Comment 1 Clayton Coleman 2013-04-10 19:43:34 UTC
Fixed in https://github.com/openshift/li/pull/1154

Comment 2 openshift-github-bot 2013-04-11 02:20:59 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/1636e45de05f12707882fcbb55b886496316ae9f
Bug 909055 - Rule was calling a missing bit of code, never copied over from original Acquia instance

Comment 3 weiwei jiang 2013-04-11 09:41:02 UTC
env: dev_3074 fedora 18 chrome 26


steps:
1.login with a normal user
2.create a new vote
3.logout 
4.login with a admin user
5.change that vote's state from new to Completed

actual results:
got a blank page without any other information

Comment 4 weiwei jiang 2013-04-11 09:42:06 UTC
Created attachment 734088 [details]
blank_page

Comment 5 Clayton Coleman 2013-04-11 23:41:18 UTC
Did you revert the devenv to default state by reverting all features?  If not, please go to /usr/share/drupal6 on the devenv, then run 

 drush features

For any that are marked overriden or "needs review", run "drush fr <name>"

Comment 6 weiwei jiang 2013-04-15 05:59:19 UTC
I tried follow your steps, and still got blank page.

Comment 7 Xiaoli Tian 2013-04-15 07:03:18 UTC
Seems the pull request in comment 1 is to fix bug 912027

Comment 8 Clayton Coleman 2013-04-15 16:42:56 UTC
There were several changes together - deleting:          

'#name' => 'rules_action_custom_php',
            '#settings' => array('code' => 'send_feature_complete_email($node);', 

from the feature is what fixes the problem.  Please verify in your devenv:

  1) logged in to the community with admin/admin
  2) browse to /admin/rules/rules/rules_feature_completed/edit

Verify that there is no "action" for the rule.

Comment 9 Yujie Zhang 2013-04-16 07:45:46 UTC
(In reply to comment #8)
Tested on devenv_3102, verified the above steps, there is no "action" for the rule, and tried to change the status of an idea from "new" to "Completed", it can be successful, so will verify this bug once it is on qa, thanks.


Note You need to log in before you can comment on or make changes to this bug.