-
Type:
Bug
-
Resolution: Low Engagement
-
Priority:
Low
-
None
-
Affects Version/s: 6.13.3, 6.15.3, 7.1.0
-
Component/s: Macros - Content by Label
-
1
-
Severity 3 - Minor
Issue Summary
After moving a page with the Content by Label macro to a new space, Macro displays, There is no content with the specified labels

Steps to Reproduce
- Add labels to pages in a space.
- Create a new page with the Content by Label macro.
- In the Label filters, add the labels from step 1.
- Add the In space filter and select Current space.
- Move the pages to a new space.

Expected Results
Page with Content by Labels to render content in macro field.
Actual Results
No data is rendered in the fields
Note: it is reproducible by adding similar labels from step 1 to pages in the new space. Then only move the page with the Content by Label macro.
http://localhost:8090/display/MOON/second+test+for+content+by+labels {"stateAt":"0.HqKxAYDN_QOE3tQtJxiFjQ.0","state":{"format":"type-tagged","value":[4,17,0,"body",1,[18,[4,17,0,"p",1,[18,[4,17,0,"br"]]],[4,17,0,"p",1,[18,[4,17,0,"img",1,[18],2,[3,"class","editor-inline-macro","src","/plugins/servlet/confluence/placeholder/macro?definition=e2NvbnRlbnRieWxhYmVsOmNxbD1sYWJlbCA9ICJwbGFucyIgYW5kIGxhYmVsID0gInN0cnVjdHVyZSIgYW5kIHNwYWNlID0gY3VycmVudFNwYWNlKCl9&locale=en_US&version=2","data-macro-name","contentbylabel","data-macro-parameters","cql=label \\= \"plans\" and label \\= \"structure\" and space \\= currentSpace()","data-macro-schema-version","3","data-macro-id","2d07c7eb-9529-440b-b0df-0ab121f44513"]]]]],2,[3,"data-title","second test for content by labels"]]}} Removing in space filter. {"stateAt":"0.042UAiu4QvVS0xudgK5QhA.0","state":{"format":"type-tagged","value":[4,17,0,"body",1,[18,[4,17,0,"p",1,[18,[4,17,0,"br"]]],[4,17,0,"p",1,[18,[4,17,0,"img",1,[18],2,[3,"class","editor-inline-macro","src","/plugins/servlet/confluence/placeholder/macro?definition=e2NvbnRlbnRieWxhYmVsOmNxbD1sYWJlbCA9ICJwbGFucyIgYW5kIGxhYmVsID0gInN0cnVjdHVyZSJ9&locale=en_US&version=2","data-macro-name","contentbylabel","data-macro-parameters","cql=label \\= \"plans\" and label \\= \"structure\"","data-macro-schema-version","3","data-macro-id","11915a2a-d77e-44ef-b9f5-b93936606c7d"]]]]],2,[3,"data-title","second test for content by labels"]]}}
Workaround
- Edit page with the macro.
- click Edit macro.
- Remove Current space from In space. Or
- Update the Current space for the name of the previous space.
- click S*ave.*