-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Component/s: Macros - Content by Label
-
1
-
Severity 2 - Major
-
4
Issue Summary
The new frontend renderer for the recently-updated macro incorrectly converts certain macro parameters into CQL query literals, causing the macro to return 0 results and display "No updates yet." even when matching content exists.
Specifically:
- The space parameter @all (intended to search across all spaces) is passed as a literal CQL value space = "@all", searching for a space with the key @all which does not exist.
- The label exclusion parameter -ndum (intended to exclude content with label "ndum") is passed as a literal CQL value label in ("-ndum"), searching for a label literally named -ndum.
This results in the GraphQL operation RecentlyUpdatedMacroQuery always returning an empty result set for macros using these parameter patterns.
Steps to Reproduce
- Create or navigate to a page containing a recently-updated macro configured with spaces=@all and labels=-ndum
- Ensure the user is in the new renderer cohort (not using the legacy macro renderer)
- Load the page with Ctrl + Shift + R (hard refresh)
- Observe the macro output
Expected Results
The recently-updated macro displays a list of recently updated content across all spaces, excluding content with the label "ndum".
Actual Results
The macro displays "No updates yet." (「まだ最新情報はありません。」) with 0 results.
The GraphQL response:
{
"data": {
"search": {
"nodes": [],
"pageInfo": {
"hasNextPage": false
}
}
}
}
The generated CQL query:
type in (blogpost) AND space = "@all" AND label in ("-ndum") order by lastmodified desc
Workaround
Override the affected user to use the legacy renderer. The legacy renderer correctly handles @all and label exclusion parameters, and the macro displays as expected.
- derived from
-
CONFCLOUD-79547 Recent update macro missing the parameter "-" to remove pages with certain label
- Gathering Interest
- mentioned in
-
Page Loading...