1. JSPWiki
  2. JSPWIKI-665

Page View Plugin and page renames and deletions


    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.4, 2.9
    • Fix Version/s: 2.9.1
    • Component/s: Core & storage
    • Labels:


      When a wiki page is renamed or deleted, the counters used by the PageViewPlugin (http://www.jspwiki.org/wiki/PageViewPlugin) are not adapted accordingly. As a results of this, the overview of counters can contains pages that do not exist anymore. The counters of these pages will not be incremented anymore, so they will disappear of the top list, but they still remain in the full list. It would make sense to remove the counters for deleted pages. It would defnitely make sense to update the counters when a page is renamed.

      A visit to a non existing page is also stored by the PageViewPlugin, eg by clicking on a link to a page showing the message "This page does not exist. Why don't you go and create it?" is stored as a valid visit. Counting visits to non existing pages seems something of very low value.

      1. PVPTpatch.diff
        3 kB
        Glen Mazza
      2. JSPWiki665.patch
        6 kB
        Glen Mazza

        Issue Links


          Bruno Peeters created issue -
          Glen Mazza made changes -
          Field Original Value New Value
          Attachment PVPTpatch.diff [ 12551103 ]
          Florian Holeczek made changes -
          Affects Version/s 2.9 [ 12319521 ]
          Florian Holeczek made changes -
          Link This issue relates to JSPWIKI-750 [ JSPWIKI-750 ]
          Glen Mazza made changes -
          Attachment JSPWiki665.patch [ 12555106 ]
          Harry Metske made changes -
          Assignee Harry Metske [ metskem ]
          Fix Version/s 2.9.1 [ 12321249 ]
          Harry Metske made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]


            • Assignee:
              Harry Metske
              Bruno Peeters
            • Votes:
              1 Vote for this issue
              2 Start watching this issue


              • Created: