David Griffon created UNOMI-785:
-----------------------------------
Summary: Avoid NPE when a profileID in session is not found
Key: UNOMI-785
URL: https://issues.apache.org/jira/browse/UNOMI-785
Project: Apache Unomi
Issue Type: Bug
Reporter: David Griffon
Currently if a profileID set on a session is not found, an NPE is thrown
{code}
Internal server error null: java.lang.NullPointerException in
org.apache.unomi.rest.endpoints.ContextJsonEndpoint.contextJSONAsPost(ContextJsonEndpoint.java:255
{code}
This task to avoid the NPE in such case (ignore the profile in the session
document)
Also to improve the merge profile test to check that no session remains with a
merged profile.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)