[ https://issues.apache.org/jira/browse/UNOMI-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Griffon updated UNOMI-750: -------------------------------- Description: >From now on, it can happen some document without item ID, this leads to issue >in update profile for example. This task to check if we need to set the itemId as before, or if we can fix to use the document ID is some cases. h2. Source of the issue For system item (rules, conditionType, segment, etc ..) document ID are build using index+itemType, for the other item, if the itemID is not pass, like for profile, it stays empty. With an itemID empty, we met inconsistencies while doing operations like updating a segment. h2. Fix For item without itemIds, as it was done before, itemID is set to match the ES document ID. was: >From now on, it can happen some document without item ID, this leads to issue >in update profile for example. This task to check if we need to set the itemId as before, or if we can fix to use the document ID is some cases. h2. Source of the issue For system item (rules, conditionType, segment, etc ..) document ID are build using index+itemType, for the other item, if the itemID is not pass, like for profile, it stays empty. With an itemID empty, we met inconsistencies while doing operations like updating a segment. h3. Fix For item without itemIds, as it was done before, itemID is set to match the ES document ID. > items without ItemID issue > -------------------------- > > Key: UNOMI-750 > URL: https://issues.apache.org/jira/browse/UNOMI-750 > Project: Apache Unomi > Issue Type: Bug > Reporter: David Griffon > Priority: Major > > From now on, it can happen some document without item ID, this leads to issue > in update profile for example. > This task to check if we need to set the itemId as before, or if we can fix > to use the document ID is some cases. > h2. Source of the issue > For system item (rules, conditionType, segment, etc ..) document ID are build > using index+itemType, for the other item, if the itemID is not pass, like for > profile, it stays empty. > With an itemID empty, we met inconsistencies while doing operations like > updating a segment. > h2. Fix > For item without itemIds, as it was done before, itemID is set to match the > ES document ID. -- This message was sent by Atlassian Jira (v8.20.10#820010)