You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (JIRA)" <ji...@apache.org> on 2017/11/30 07:56:00 UTC
[jira] [Resolved] (UNOMI-142) The JSON property "requireSegments"
is misspelt in http://unomi.apache.org/versions/1.1/getting-started.html
[ https://issues.apache.org/jira/browse/UNOMI-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Serge Huber resolved UNOMI-142.
-------------------------------
Resolution: Fixed
Assignee: Serge Huber
Fix Version/s: 1.3.0-incubating
> The JSON property "requireSegments" is misspelt in http://unomi.apache.org/versions/1.1/getting-started.html
> ------------------------------------------------------------------------------------------------------------
>
> Key: UNOMI-142
> URL: https://issues.apache.org/jira/browse/UNOMI-142
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Serge Huber
> Assignee: Serge Huber
> Fix For: 1.3.0-incubating
>
>
> The official Unomi documentation http://unomi.apache.org/versions/1.1/getting-started.html documents that a context request looks like this:
> {code:java}
> {
> source: <Item source of the context request>,
> events: <optional array of triggered events>,
> requiredProfileProperties: <optional array of property identifiers>,
> requiredSessionProperties: <optional array of property identifiers>,
> filters: <optional array of filters to evaluate>,
> profileOverrides: <optional profile containing segments,scores or profile properties to override>,
> - segments: <optional array of segment identifiers>,
> - profileProperties: <optional map of property name / value pairs>,
> - scores: <optional map of score id / value pairs>
> sessionPropertiesOverrides: <optional map of property name / value pairs>,
> requiresSegments: <boolean, whether to return the associated segments>
> }
> {code}
> Sending the "requiresSegments" property ends up in error, Unomi seems to expect "requireSegments" instead. ( "requiresSegments" (class org.apache.unomi.api.ContextRequest), not marked as ignorable (8 known properties: "requireSegments", "events", "requiredSessionProperties", "source", "requiredProfileProperties", "profileOverrides", "filters", "sessionPropertiesOverrides"]))
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)