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 2021/07/01 07:42:00 UTC

[jira] [Created] (UNOMI-493) Fix missing profileID on segment condition validation

Serge Huber created UNOMI-493:
---------------------------------

             Summary: Fix missing profileID on segment condition validation
                 Key: UNOMI-493
                 URL: https://issues.apache.org/jira/browse/UNOMI-493
             Project: Apache Unomi
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.6
            Reporter: Serge Huber
            Assignee: Serge Huber
             Fix For: 1.6.0


When saving a segment, we first validate the condition using a call to:

{code}
        if (!persistenceService.isValidCondition(segment.getCondition(), new Profile())) {
{code}

The problem is that this fails in the backend because a lot of conditions expect a profile to have an ID.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)