Commit dfcdec11 authored by wonny's avatar wonny Committed by Uze Choi

(IOT-1006) modified sceneCollection

resolved jira issue IOT-1006

This issue is caused by checking sceneName existed or not.
modified checking logic.

Change-Id: I6ef17e1ef9c7182852ea783e71ed57dd7b81efbe
Signed-off-by: default avatarwonny <>
Reviewed-on: default avatarJungYong KIM <>
Reviewed-by: default avatarUze Choi <>
Tested-by: default avatarUze Choi <>
parent 6e204b3e
......@@ -58,7 +58,7 @@ namespace OIC
auto sceneValues = m_sceneCollectionResource->getSceneValues();
auto it = std::find(sceneValues.begin(), sceneValues.end(), sceneName);
if(it != sceneValues.end())
if(it == sceneValues.end())
throw RCSInvalidParameterException("Scene Name is Invalid!");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment