Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-106

Pagination for Blog categories panel not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.6, 9.7
    • Fix Version/s: 9.7.1
    • Labels:
      None
    • Environment:
      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
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEPS TO REPRODUCE:

      1. Login with Admin
      2. Install Blog Application
      3. Click on Blog Application from Applications Panel
      4. 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.

        Attachments

          Activity

            People

            • Assignee:
              mouhb Mohamed Boussaa
              Reporter:
              iandriuta Ilie Andriuta
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: