created themes not showing up in series branding tab

Steps to reproduce

When on the themes tab: First 10 themes show up in branding, later ones are not shouwing up in the dropdown when creating a series.

Steps to reproduce:
1. Create more than 10 themes
2. Try to create a branded series
3. Try to find one of the #index > 10 themes in the dropdown menu

Actual Results:
Themes not showing up in branding dropdown when creating a series.

Expected Results:
All Themes should be listed.

Workaround (if any):

Activity

Show:
Sven Stauber
May 10, 2016, 10:30 PM
Edited

Added some log out put...

logger.info("ThemeSearchQuery.getDocumentCount is {}", results.getDocumentCount());
logger.info("ThemeSearchQuery.getHitCount is {}", results.getHitCount());

int nbr = 0;
for (SearchResultItem<Theme> item : results.getItems()) {
Theme theme = item.getSource();
list.put(Long.toString(theme.getIdentifier()), theme.getName());
nbr = nbr + 1;
logger.info("Number: {} + Name: {}", nbr, theme.getName());
}

Weird...

Should find 13 themes, but the document count is just 10 (while hitcount would be 13)...

Hitcount vs document count is suspect because the query does not define any criteria (either everything should hit or nothing and therefore, hitcount should be equal to document count), but...

2016-05-11 00:25:41,491 | INFO | (ThemesListProvider:92) - ThemeSearchQuery.getDocumentCount is 10
2016-05-11 00:25:https://opencast.jira.com/browse/MH-11194#41,492 | INFO | (ThemesListProvider:93) - ThemeSearchQuery.getHitCount is 13
2016-05-11 00:25:41,493 | INFO | (ThemesListProvider:101) - Number: 1 + Name: 12
2016-05-11 00:25:41,493 | INFO | (ThemesListProvider:101) - Number: 2 + Name: 2
2016-05-11 00:25:41,494 | INFO | (ThemesListProvider:101) - Number: 3 + Name: 3
2016-05-11 00:25:41,494 | INFO | (ThemesListProvider:101) - Number: 4 + Name: 5
2016-05-11 00:25:41,494 | INFO | (ThemesListProvider:101) - Number: 5 + Name: 7
2016-05-11 00:25:41,494 | INFO | (ThemesListProvider:101) - Number: 6 + Name: 9
2016-05-11 00:25:41,494 | INFO | (ThemesListProvider:101) - Number: 7 + Name: 11
2016-05-11 00:25:41,495 | INFO | (ThemesListProvider:101) - Number: 8 + Name: a
2016-05-11 00:25:41,495 | INFO | (ThemesListProvider:101) - Number: 9 + Name: c
2016-05-11 00:25:41,495 | INFO | (ThemesListProvider:101) - Number: 10 + Name: gds

Fixed and reviewed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Waldemar Smirnow

Reporter

Ferdinand Göldner

Severity

Non Functioning