In src/pages/views/hooks/useAggregatedViewVariables.ts, the section query function fetches with section.namespace || "default" while the React Query key uses section.namespace and sectionData map keys use ${section.namespace ?? ""}:${section.name}; ViewContent then looks up with empty-string fallback. This creates a mismatch where sections with missing namespace are represented as "" in keys/lookups but fetched as "default" in /api/view/{namespace}/{name} paths, causing incorrect namespace requests for views not in default, plus duplicate or missed cache behavior/invalidation due to "" vs "default" key divergence for the same logical section.
In
src/pages/views/hooks/useAggregatedViewVariables.ts, the section query function fetches withsection.namespace || "default"while the React Query key usessection.namespaceandsectionDatamap keys use${section.namespace ?? ""}:${section.name};ViewContentthen looks up with empty-string fallback. This creates a mismatch where sections with missing namespace are represented as""in keys/lookups but fetched as"default"in/api/view/{namespace}/{name}paths, causing incorrect namespace requests for views not indefault, plus duplicate or missed cache behavior/invalidation due to""vs"default"key divergence for the same logical section.