Bug 1323807

Summary: Guidance / Examples for creating an application from the UI are unclear
Product: OpenShift Container Platform Reporter: Eric Rich <erich>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED WONTFIX QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jforrest, jokerman, mmccomas, spadgett
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: 2020-05-06 16:40:00 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:

Description Eric Rich 2016-04-04 18:45:50 UTC
Description of problem:

When creating an application from the console (using the uri below), its unclear how to set or use the 'context dir': 

console/project/<project>/create/fromimage?imageName=jboss-webserver30-tomcat7-openshift&imageTag=1.2&namespace=openshift

I feel this is unclear, because the example we provide (with the 'Try it' button), while it fill in what you need with the advanced settings, it does not show you the advanced settings, when the link is clicked. 

Sample repository for jboss-webserver30-tomcat7-openshift: https://github.com/jboss-openshift/openshift-quickstarts.git, context dir: tomcat-websocket-chat 
Try it

This leave the impression that the 'uri' is the only thing that you need, or that you should copy past the "text" (above) into the URI space when creating an application.

Comment 1 Robb Hamilton 2018-01-03 14:19:45 UTC
This was fixed for the non-modal create/fromimage page with https://github.com/openshift/origin-web-console/commit/b813cb829f9f55ae838c984a9499dc2869291dd6.

I will PR a separate fix for the modal create/fromimage.

Comment 2 Robb Hamilton 2018-01-03 14:41:34 UTC
To clarify my previous point, the bug as filed is fixed.  However, the bug was reintroduced with the 3.7 release as the catalog's modal create/fromimage form is a different form than the non-modal create/fromimage page and does not contain the fix.  spadgett is going to pick up the bug with the intention of eliminating the separate forms so the behavior is consistent in both.