Bug 1392931 - openshift-jvm Amq Send Delete Header raise JavaScript exception
Summary: openshift-jvm Amq Send Delete Header raise JavaScript exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.3.1
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Alexandre Kieling
QA Contact: Peng Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-08 13:55 UTC by Libor Fuka
Modified: 2017-03-08 18:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: JavaScript bug Consequence: Delete header button doesn't work Fix: Fix JavaScript bug Result: Delete header button works
Clone Of:
Environment:
Last Closed: 2017-01-18 12:50:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description Libor Fuka 2016-11-08 13:55:55 UTC
Description of problem:
Amq Send Delete Header raise JavaScript exception


Version-Release number of selected component (if applicable):
openshift-jvm version: 1.0.50

How reproducible:
always

Steps to Reproduce:
1. Deploy some camel route to OCP (for example https://github.com/jboss-fuse/application-templates/blob/application-templates-2.0.fuse-000008/quickstarts/karaf2-camel-amq-template.json)
2. Open Java console from Amq pod page
3. Send -> Header -> Add some header -> Add some header
4. Delete header
5. See JavaScript console in Firefox

Actual results:
It raises JavaScript exception


Error: i.headers.remove is not a function
i.removeHeader@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:66:31920
anonymous/fn@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js line 7 > Function:2:323
t@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:5:25276
pa[t]</<.compile/</</r@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:8:9016
Sn/this.$get</f.prototype.$eval@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:6:3387
Sn/this.$get</f.prototype.$apply@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:6:3619
pa[t]</<.compile/</<@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:8:9066
Z.event.dispatch@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:2:17379
Z.event.add/m.handle@https://api.devel.xpaas:8443/console/java/libs-b80880b94c.js:2:14191

Comment 1 Alexandre Kieling 2016-11-09 18:22:24 UTC
Fix ready for testing. Please use openshift-jvm v1.0.51

Comment 2 Jessica Forrester 2016-11-11 11:55:17 UTC
in web console in https://github.com/openshift/origin-web-console/pull/858

Comment 3 Troy Dawson 2016-11-11 19:45:21 UTC
This has been merged into ocp and is in OCP v3.4.0.25 or newer.

Comment 5 Peng Li 2016-11-14 10:52:45 UTC
verified when do delete head operation, no error is observed.
[root@ip-172-18-1-135 ~]# openshift version
openshift v3.4.0.25+1f36858
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0
[root@ip-172-18-1-135

Comment 8 errata-xmlrpc 2017-01-18 12:50:58 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, 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-2017:0066


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