Bug 909055

Summary: Get error page when change idea status to completed as admin user at the first time
Product: OKD Reporter: Shirley Zhou <szhou>
Component: WebsiteAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: high    
Version: 2.xCC: ccoleman, mshao, wjiang, xtian, yujzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-20 03:34:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
error page
none
blank_page none

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.