Bug 2093593 - Import from Devfile shows configuration options that shoudn't be there
Summary: Import from Devfile shows configuration options that shoudn't be there
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.11.0
Assignee: Lokananda Prabhu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-04 15:18 UTC by Christoph Jerolimov
Modified: 2022-08-10 11:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:16:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11719 0 None open Bug 2093593: Updated selected strategy file as devfile when devfile is selected 2022-06-16 12:04:17 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:16:33 UTC

Description Christoph Jerolimov 2022-06-04 15:18:19 UTC
Description of problem:
When a user imports a Devfile from the Devfile catalog or the samples, the "Import from Devfile" page should show a limited list of options.

But in 4.11 it shows all options, incl. the option to switch the resource type (D/DC), add a pipeline, and all advanced options.

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to the Add page > All services
2. Select Devfiles as type
3. Select the "Basic Node.js" example and press Create

Actual results:
All import options are shown

Expected results:
Only General (app name and name) options should be available

Additional info:
The issue is related to the query param importType=devfile, it works with importType=Devfile

This is a regression, so we should check double check if the change introducing this might break some other things. We should add some tests for this. :)

Comment 4 spathak@redhat.com 2022-07-13 14:09:22 UTC
Verified on build version: 4.12.0-0.nightly-2022-07-07-144231
Browser version: Chrome 103

Comment 5 errata-xmlrpc 2022-08-10 11:16:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


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