Bug 882790

Summary: The added tag "instant_app" is saved as "Instant_app" automatically for quickstarts which mismatched with default tag "instant_app" of jenkins server
Product: OKD Reporter: Mengjiao Gao <mgao>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: bhatiam, dmcphers, szhou, 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-02-14 00:52:05 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
Jenkins server cannot be filtered out by tag "Instant_app"
none
All quickstart apps can be filtered out by tag "instant_app" none

Description Mengjiao Gao 2012-12-03 06:24:46 UTC
Created attachment 656368 [details]
Jenkins server cannot be filtered out by tag "Instant_app"

Description of problem:
When I tested on devenv_2547, I added a quickstart named "wordpress" with tag "instant_app", and hit /community/cron.php in my browser. 

When I tried to filter app types in the app creation page, I found that if I clicked the tag "INSTANT_APP" in the  description section of wordpress, I cannot get jenkins server in my filtered result.
And I noticed the filtered url of this tag is "https://ec2-107-20-83-201.compute-1.amazonaws.com/app/console/application_types?tag=Instant_app"

But, if I clicked the tag "INSTANT_APP" in the jenkins server app description, I can get jenkins server and all quickstart added by me in the filtered result. 
At this time the filtered url is "https://ec2-107-20-83-201.compute-1.amazonaws.com/app/console/application_types?tag=instant_app", a letter's difference with the former one.


Version-Release number of selected component (if applicable):
devenv_2547

How reproducible:
always

Steps to Reproduce:
1.Add a quickstart app named "wordpress" using admin account, according to the steps described in US3046, and add tag "instant_app" to the quickstart app .
2.Hit /community/cron.php in the browser. 
3.Go to the website, check the app creation page.
4.Clicked the "INSTANT_APP" tag in the wordpress app description. Check the filtered result.
5.Clicked the "INSTANT_APP" tag in the jenkins server app description. Check the filtered result.
  
Actual results:
At step 4, the jenkins server app cannot be filtered out.
At step 5, all the quickstart app (included jenkins server, and wordpress) can be filtered out.

Expected results:
At step 4, all the quickstart app (included jenkins server, and wordpress) can be filtered out.

Additional info:

I have tried to add tag "INSTANT_APP", and "instant_APP", they will be all changed to tag "Instant_app" automatically.  
But when I add other tags like "QUIckstart" or "WORDPRESS", they will be all changed to the corresponding lowercases as "quickstart" or "wordpress".

Comment 1 Mengjiao Gao 2012-12-03 06:25:36 UTC
Created attachment 656369 [details]
All quickstart apps can be filtered out by tag "instant_app"

Comment 2 Clayton Coleman 2013-01-03 22:43:53 UTC
Is this a dupe of 878328?  Because the problem is almost certainly the same.

Comment 3 Mengjiao Gao 2013-01-05 02:40:27 UTC
This is not dupe of the bug 878328, but I found this bug have been fixed in the latest devenv_2634.

-------------------------------------------------------
Steps to Reproduce:
1.Add a quickstart app named "wordpress" using admin account, according to the steps described in US3046, and add tag "instant_app" to the quickstart app .
2.Hit /community/cron.php in the browser. 
3.Go to the website, check the app creation page.
4.Clicked the "INSTANT_APP" tag in the wordpress app description. Check the filtered result.

  
Actual results:
At step 4, all the quickstart app added by admin user (included jenkins server, and wordpress) can be filtered out.
-----------------------------------------------------

So, could you please help me to put this bug to ON_QA status ,then I will be able to verify it. Thanks!

Comment 4 Mengjiao Gao 2013-01-05 06:15:32 UTC
Verified on devenv_2634, as comment 3 said.