Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
6.4.4, 7.1.3
-
High
-
Easy
-
N/A
-
N/A
-
Description
To repeat, create 2 pages
Main.TestOne
{{velocity}}
#set($columns = ['project', 'description', 'author', 'score', 'ranking'])
#set($columnsProperties = {
'project' : { 'type' : 'none', 'html' : 'true', 'sortable' : 'true', 'filterable' : 'true'},
'description' : {'type' : 'text', 'filterable' : 'false', 'sortable' : 'false'},
'author' : {'type' : 'none', 'html':true, 'filterable' : 'false', 'sortable' : 'false'},
'score' : {'type' : 'text', 'filterable' : 'false', 'sortable' : 'false'},
'ranking' : {'type' : 'none', 'html' : true, 'filterable' : 'false', 'sortable' : 'true'}
})
#set($options = {
'resultPage' : 'Main.TestTwo',
'rowCount' : 10,
'translationPrefix' : 'xxx.',
'creator': $xcontext.getUser(),
'topFilters' : '<input class="projectNameFilter" id="xwiki-livetable-entities-filter-1" name="entity" title="Filter for the project name column" type="text">'
})
#livetable('entities', $columns, $columnsProperties, $options)
{{/velocity}}
Main.TestTwo
{"totalrows":53,
"returnedrows":2,
"offset":1,
"reqNo":1,
"rows":[
{
"doc_viewable":true,
"author":"<span class=\"wikilink\"><a href=\"/riscoss/wiki/gha/view/XWiki/github_cedricth\">github_cedricth</a></span>",
"project":"<a href='/riscoss/wiki/gha/view/RISCOSSPlatformCode/ProjectPage?project=RISCOSSPlatformEntitiesgithub_cedricth.kraih_mojo' class='projectLink'>kraih/mojo</a>",
"score":"371",
"ranking":"This project ranks <strong>top 1%</strong>",
"description":"Mojolicious - Perl real-time web framework","entity_url":"/riscoss/wiki/gha/view/RISCOSSPlatformEntitiesgithub_cedricth/kraih_mojo",
"layer":"OSSComponent",
"layer_url":"/riscoss/wiki/gha/view/RISCOSSPlatformLayers/OSSComponent"
},
{
"doc_viewable":true,
"author":"<span class=\"wikilink\"><a href=\"/riscoss/wiki/gha/view/XWiki/github_cedricth\">github_cedricth</a></span>",
"project":"<a href='/riscoss/wiki/gha/view/RISCOSSPlatformCode/ProjectPage?project=RISCOSSPlatformEntitiesgithub_cedricth.major_MySQLTuner%2Dperl' class='projectLink'>major/MySQLTuner-perl</a>",
"score":"314",
"ranking":"This project ranks <strong>top 2%</strong>",
"description":"MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.",
"entity_url":"/riscoss/wiki/gha/view/RISCOSSPlatformEntitiesgithub_cedricth/major_MySQLTuner%2Dperl",
"layer":"OSSComponent",
"layer_url":"/riscoss/wiki/gha/view/RISCOSSPlatformLayers/OSSComponent"
},
]
}
Navigate to Main.TestOne and notice when the skin is Flamingo, the livetable does not load, when it is switched to Colibri, it loads the 2 elements specified in TestTwo.
Attachments
Issue Links
- depends on
-
XCOMMONS-888 Add support for escaping CSS identifiers
-
- Closed
-
- is related to
-
XWIKI-10131 Creating a livetable with top filters doesn't work anymore
-
- Closed
-
-
XWIKI-10093 Implement view mode of the Flamingo skin
-
- Closed
-
-
XWIKI-8313 Livetable Filter by Tag
-
- Closed
-
-
XWIKI-12741 The application code and data spaces should be nested inside the application space
-
- Closed
-