Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Pulsar 282 - Cycle 2-1, Pulsar 284 - Cycle 2 Cooldown, Pulsar 287 - Cycle 3 Cooldown, Pulsar 288&9 - Cycle 4, Pulsar 290 - Cycle 4 Cooldown
Description
Issue:
While creating component with params via Site Management apis, it's not clear per this document what valueType are allowed in Parameter.
When tried with 'datetime' as suggested in https://documentation.bloomreach.com/developers/content/components/define-configuration-parameters-for-dynamic-components.html --> Add Component Parameters --> Required Properties --> valueType ,
the api is failing with message like `HV000028: Unexpected exception during isValid call. ` when put default value = "" or a valid value like "defaultValue": "2007-12-03T00:00:00.00Z"
or with message 'ComponentDefinition.parameters[0].valueType: must not be null' when put defaultValue = null or is omitted
But when tried with `calendar` type and null value or missing defaultValue, it works.
So I assume we need to update our documentation.
Expected:
- we need to clearly provide which valueTypes are available in the schemas doc
- need to update the site config doc with correct type accordingly
- fix api if needed