RuiChen_01 31aa3e9bc6 fix: backfill empty functionNamespace in BatchRegisterInsightIntentFunctions
Config intents from module.json5 may have empty bundleName (developers
omit it, similar to moduleName). ConvertFromConfigIntent sets
functionNamespace = info.bundleName → empty. Old RegisterInsightIntentFunctions
had a fallback using the bundleName parameter, but BatchRegisterInsightIntentFunctions
lacked this. Empty functionNamespace causes FunctionInfo::Validate failure
and KVStore registration silently drops the function.

Add fallback: when functionNamespace is empty and bundleVersionMap has
exactly one entry (single-bundle call from event_mgr), use that entry's
key as the namespace.

Co-Authored-By: Agent
Signed-off-by: RuiChen_01 <chenrui193@huawei.com>

🤖‍ AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%]
Co-authored-by: claude (glm-5.2) <ai@local>
2026-06-30 14:21:20 +08:00
2022-07-05 17:15:19 +08:00
2026-06-21 09:13:39 +08:00
2026-06-29 20:51:00 +08:00
2026-06-27 19:48:15 +08:00
2021-06-02 02:20:34 +08:00
2026-06-15 19:50:15 +08:00
2021-06-02 02:20:34 +08:00
2026-06-27 09:58:46 +08:00
2026-03-21 21:40:43 +08:00
2025-10-14 12:48:30 +08:00
2026-06-27 09:54:20 +08:00
2022-06-30 15:32:07 +08:00
2026-03-04 11:03:50 +08:00
2024-06-07 10:32:48 +08:00
S
Description
暂无描述
146 MiB
Languages
C++ 98.1%
C 1.5%
JavaScript 0.2%
TypeScript 0.1%