Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-931

VersioningFileProvider sets page author to "unknown" when it should be an authenticated user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 2.10.3
    • None
    • None
    • AWS Linux, Tomcat 8.0.23, Java JDK 1.8.0_45

    Description

      Even though the wiki is configured so that only authenticated users and edit or even view pages in the JSPWiki, the WeblogEntryPlugin creates entries where the by line reads By unknown. 7 out of 21 entries are shown this way. If you follow the entry's Permalink, the entry will show This page was last changed on 29-Feb-2016 18:44 by ... with the correct user name.

      I have not been able to pinpoint the scenario that exposes this defect, but I suspect it occurs when the user's Tomcat session expires, the create entry link is clicked, and then they are forced to log in again. However, there is reason to believe that it occurs if the user has ever been forced to log in after their session expires, even on some unrelated page.

      Attachments

        1. EntryWithByUnkown.png
          3 kB
          Lance Bader
        2. jspwiki.policy
          5 kB
          Lance Bader
        3. PermalinkShowsWho.png
          7 kB
          Lance Bader

        Activity

          People

            metskem Harry Metske
            ldbader0 Lance Bader
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: