Bug 1969536 - Topology edit icon does not link correctly when branch name contains slash
Summary: Topology edit icon does not link correctly when branch name contains slash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.z
Assignee: Mohammed Saud
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 1969535
Blocks: 1972694
TreeView+ depends on / blocked
 
Reported: 2021-06-08 14:46 UTC by OpenShift BugZilla Robot
Modified: 2021-06-29 04:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-29 04:20:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Topology edit icon links correctly when branch name contains slash (1.30 MB, video/webm)
2021-06-20 18:36 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9180 0 None open [release-4.7] Bug 1969536: Omit bitbucket branch in URL if it contains slash 2021-06-09 15:04:52 UTC
Red Hat Product Errata RHBA-2021:2502 0 None None None 2021-06-29 04:20:37 UTC

Description OpenShift BugZilla Robot 2021-06-08 14:46:52 UTC
+++ This bug was initially created as a clone of Bug #1969535 +++

Description of problem:
Topology edit icon for deployments created using git flow do not link to the repo correctly when the branch name contains a forward slash(/).

Related: https://issues.redhat.com/browse/ODC-5901

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


How reproducible:
Always, only for bitbucket repos.

Steps to Reproduce:
Set annotations on a deployment:

app.openshift.io/vcs-uri: https://company.com/projects/XYZ/repos/foo-project/browse
app.openshift.io/vcs-ref: feature/x-111

Actual results:
Edit icon url is broken.


Expected results:
Edit icon url should have the correct bitbucket link


Additional info:
This may be a problem with bitbucket's API. See https://jira.atlassian.com/browse/BCLOUD-9969

Comment 2 spathak@redhat.com 2021-06-20 18:36:29 UTC
Created attachment 1792539 [details]
Topology edit icon links correctly when branch name contains slash

Comment 3 spathak@redhat.com 2021-06-20 18:37:06 UTC
Verified on build version: 4.7.0-0.nightly-2021-06-17-224843
Browser: Google Chrome 89

Comment 6 errata-xmlrpc 2021-06-29 04:20:14 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 (OpenShift Container Platform 4.7.18 bug fix 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/RHBA-2021:2502


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