Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13379

Use of 'spaces' parameter of tagcloud macro throw error when following the example

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      To reproduce :

      • Create 2 pages TagSpaceTest1 and TagSpaceTest2
      • Set tagcloud 'spaces' to "'TagSpaceTest1','TagSpaceTest2'" as the example
      Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTagCountForQuery' in  class com.xpn.xwiki.plugin.tag.TagPluginApi threw exception com.xpn.xwiki.XWikiException: Error number 0 in 3: Failed to get tag count for query [select elements(prop.list) from XWikiDocument as doc, BaseObject as tagobject, DBStringListProperty as prop where tagobject.name=doc.fullName and tagobject.className='XWiki.TagClass' and tagobject.id=prop.id.id and prop.id.name='tags' and doc.space IN("'TagSpaceTest1','TagSpaceTest2'")], with parameters [[]] at 135:xwiki:Dashboard.WebHome[line 22, column 30]
      

      How to quick solve :

      • Do not use the double quotes

      How to deeply solve :

      • Change the translation to remove the quotes
      • Set the value in Italic

      Attachments

        Activity

          People

            acotiuga Alex Cotiugă
            jcoury Jean Coury
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: