[
https://issues.apache.org/jira/browse/JSPWIKI-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15185704#comment-15185704
]
Lance Bader commented on JSPWIKI-931:
-------------------------------------
I examined the other entries where "by unknown" is shown.
{code}
# JSPWiki page properties for Sprint3_blogentry_040316_1. DO NOT MODIFY!
#Fri Mar 04 13:59:27 UTC 2016
2.author=William Tsun
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_290216_1. DO NOT MODIFY!
#Mon Feb 29 18:44:08 UTC 2016
3.author=William Tsun
2.author=William Tsun
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_250216_2. DO NOT MODIFY!
#Thu Feb 25 13:40:50 UTC 2016
5.author=William Tsun
2.author=William Tsun
3.author=William Tsun
4.author=William Tsun
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_230216_1. DO NOT MODIFY!
#Fri Feb 26 14:53:08 UTC 2016
2.author=Lance Bader
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_220216_1. DO NOT MODIFY!
#Fri Feb 26 14:55:10 UTC 2016
4.author=Lance Bader
2.author=Lance Bader
3.author=Lance Bader
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_160216_1. DO NOT MODIFY!
#Tue Feb 16 14:58:10 UTC 2016
3.author=Lance Bader
2.author=Lance Bader
1.author=unknown
# JSPWiki page properties for Sprint3_blogentry_150216_2. DO NOT MODIFY!
#Mon Feb 15 16:13:42 UTC 2016
3.author=Lance Bader
2.author=Lance Bader
1.author=unknown
{code}
> WeblogEntryPlugin creates entry "by unknown" when it should be an
> authenticated user
> ------------------------------------------------------------------------------------
>
> Key: JSPWIKI-931
> URL: https://issues.apache.org/jira/browse/JSPWIKI-931
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.10.1
> Environment: AWS Linux, Tomcat 8.0.23, Java JDK 1.8.0_45
> Reporter: Lance Bader
> Attachments: EntryWithByUnkown.png, PermalinkShowsWho.png,
> jspwiki.policy
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)