Bug 1969536

Summary: Topology edit icon does not link correctly when branch name contains slash
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-29 04:20:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1969535    
Bug Blocks: 1972694    
Attachments:
Description Flags
Topology edit icon links correctly when branch name contains slash none

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