Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
Description
The example provided in the method documentation (CAPI.js: 3573 - JS REST client) ContentService.prototype.loadContent is incorrect. Default values for params:
- fields,
- responseGroups
cannot be null (see screen-2.png). Browser tries to concatenate the params and finally creates an incorrect URL (see screen-1.png), because when concatenating null values the browser treats them as of value undefined.