Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.6, 9.7
-
None
-
Windows 10 Pro 64 bit, Chrome v.63, Firefox v.57, IE v.11, Edge v.16 using a local instance XWiki 9.11 on PostgreSQL 10
-
Unknown
-
Description
STEPS TO REPRODUCE:
- Login with Admin
- Install Blog Application
- Click on Blog Application from Applications Panel
- Observe the console
EXPECTED RESULTS
The main Blog Application page is displayed.
ACTUAL RESULTS
The Blog App page opens followed by an error encountered in console, having the following stacktrace:
2017-12-22 11:21:37,043 [http://localhost:8080/xwiki/bin/view/Blog/] ERROR o.x.v.i.DefaultVelocityEngine - Right side ($totalItems) of '>' operation has null value at /templates/macros.vm[line 682, column 16]
The error occurs each time a blog post's title or the Blog App's link is clicked.
If a new blog post is created, the following error occurs:
2017-12-22 11:25:13,144 [http://localhost:8080/xwiki/bin/view/Blog/] ERROR o.x.v.i.DefaultVelocityEngine - Right side ($totalItems) of '>' operation has null value at /templates/macros.vm[line 682, column 16] 2017-12-22 11:25:14,524 [http://localhost:8080/xwiki/bin/edit/Blog/Nouveau%20Blog%20Post?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Nouveau%20Blog%20Post&Blog.BlogPostClass_0_title=Nouveau%20Blog%20Postlocal&form_token=goNT9kYxoKRdNX9FeuEvjg] ERROR o.x.v.i.DefaultVelocityEngine - Right side ($totalItems) of '>' operation has null value at /templates/macros.vm[line 682, column 16] 2017-12-22 11:25:15,925 [http://localhost:8080/xwiki/bin/download/Blog/Nouveau%20Blog%20Post/filename?width=300] ERROR o.x.v.i.DefaultVelocityEngine - Right side ($totalItems) of '>' operation has null value at /templates/macros.vm[line 682, column 16]
However, the blog post is saved.