Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×As
#set ( $allSpaces = $spaceManager.getAllSpaces() )
is deprecated, how do I use:
#set($spaces = $spaceService.find().fetchMany(new SimplePageRequest(0, 1000))
correctly - above does npot work.
I also assume I need spaceService in :
JVM_SUPPORT_RECOMMENDED_ARGS=-Dconfluence.startup.remigration.disable=true -Dupm.plugin.upload.enabled=true -Dmacro.required.velocity.context.keys=pageManager,spaceService,spaceManagerInternal,attachmentManager,permissionHelper,userAccessor,i18n,dateFormatter,res,settingsManager,htmlUtil,generalUtil,bootstrap,containerContext,action,req,content
Still does not work though
It may not be the actual solution, but I noticed that a closing bracket is missing from your expression?!
This:
#set($spaces = $spaceService.find().fetchMany(new SimplePageRequest(0, 1000))
... should be:
#set($spaces = $spaceService.find().fetchMany(new SimplePageRequest(0, 1000)))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.