Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.1.8
-
None
-
None
-
1
Description
Was getting errors(design document not found) when running design document upsert to programmable add view indexes. Started going through the code and found out the path request was including the bucket name at the beginning of the path. Worked after testing adding the bucket name
bucket_viewindexes.go line 342
Path: fmt.Sprintf("/_design/%s", ddocName),
should be Path: fmt.Sprintf("/%s/_design/%s", bucketName, ddocName),