Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.0
-
Couchbase server version 6.6.0-7562
-
Untriaged
-
Centos 64-bit
-
1
-
No
-
CX Sprint 197
Description
altering the link type for an existing external link does not raise an error, although the link type is not changed as expected.
Steps to reproduce:
- create an external link using following HTTP request.
curl --location --request POST 'http://<analytics server ip>:8095/analytics/link?dataverse=Default&name=cblink&type=couchbase&hostname=<remote ip>&username=Administrator&password=password&encryption=none' \ |
--header 'Authorization: Basic <auth details>' |
2. try changing link type for the link created in step 1, using following HTTP request.
curl --location --request PUT 'http://<analytics server ip>:8095/analytics/link?dataverse=Default&name=cblink&type=COUCHBASE11&hostname=<remote ip>&username=Administrator&password=password&encryption=none' \ --header 'Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==' |
we get response status as 200. Although the link type does not change. Ideally an error should be raised.