add default value when there is no custom_type_id 75/322075/1 accepted/tizen/unified/20250407.134757 accepted/tizen/unified/x/20250407.212236
authordyamy-lee <dyamy.lee@samsung.com>
Thu, 3 Apr 2025 07:51:17 +0000 (16:51 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Thu, 3 Apr 2025 07:51:17 +0000 (16:51 +0900)
Change-Id: Ic74748143b8260364e810b7b047e74a66a58ebb2

src/mmi-manager/mmi-workflow-prototype-manager.cpp

index 353a1a143780924f2143c5300911557bbed7eef0..df809ee950474bde955e47c07933f625cc37e0c1 100644 (file)
@@ -82,6 +82,8 @@ std::shared_ptr<WorkflowPrototype> WorkflowPrototypeHelper::create_workflow_prot
                 mmi_node_get_custom_type(workflow_info->node_infos[i].node, &custom_type_id);
                 if (custom_type_id) {
                     node_info.node_sub_type = std::string(custom_type_id);
+                } else {
+                    node_info.node_sub_type = std::monostate{};
                 }
             }
             break;