-
Bug
-
Resolution: Done
-
Major
-
13.0.13.Final, 14.0.3.Final
-
None
When a cache has a name that contains a dot, the web console crashes after refreshing the browser using F5.
I am currently deploying on OCP 4.10 using DG 8.4, but I think that the same issue should apply locally.
How to reproduce?
1. Deploy a cluster using the Infinispan CR:
apiVersion: infinispan.org/v1 kind: Infinispan metadata: name: example-infinispan spec: security: endpointEncryption: type: None endpointAuthentication: false expose: type: Route replicas: 1 service: container: ephemeralStorage: true storage: 1Gi type: DataGrid
2. Create a cache using the Cache CR:
apiVersion: infinispan.org/v2alpha1 kind: Cache metadata: name: test.dots.cache spec: clusterName: example-infinispan name: test.dots.cache template: |- distributedCache: owners: "1" mode: SYNC statistics: "true" encoding: key: mediaType: application/x-protostream value: mediaType: application/x-protostream
3. Access the web console using the route.
4. Access the cache in the web console. The URL should have the following pattern:
`<web-console-base-URL>/console/cache/test.dots.cache`
5. You should see the cache entries or the metrics page.
6. Now, refresh the web browser and you will see the following error: