You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2017/02/01 17:51:51 UTC

[jira] [Commented] (JSPWIKI-1049) User preferences are not saved.

    [ https://issues.apache.org/jira/browse/JSPWIKI-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848703#comment-15848703 ] 

Harry Metske commented on JSPWIKI-1049:
---------------------------------------

Lance, I tried to recreate this problem:
* JSPWiki version 2.10.3-git-31
* both default (classic) template and haddock template
* both Firefox and Chromium

But could not reproduce the problem, I can save my prefs anytime, and I always have on JSPWikiUserPrefs cookie.

Any idea what could be key to me not having the issue and you do having it?
Could you try the latest JSPWiki version 2.10.3-git-31 ?

> User preferences are not saved.
> -------------------------------
>
>                 Key: JSPWIKI-1049
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1049
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.10.2
>         Environment: Amazon AWS Linux, yum installed OpenJDK 1.8.0, yum installed Tomcat 8.0.39, downloaded JSPWiki 2.10.2 with Haddock template, current Firefox browser
>            Reporter: Lance Bader
>
> * Select User Preferences in user dropdown menu
> * Modify default editor to wysiwyg
> * Select section editing
> * Change Timezone to GMT-5
> * Click save
> Preferences are not saved.  Returning to User Preferences shows defaults.  Section editing icons are not present.  Plain editor is the default.
> Browser has two cookies with the name JSPWikiUserPrefs, one with path /MLIWiki/ and one with path /MLIWiki .  Both have the same content:
> %7B%22version%22%3A%22haddock02%22%7D
> The only hint I can find in jspwiki.log:
> 2017-01-30 19:58:37,815 [http-nio-9443-exec-2] INFO org.apache.wiki.util.PropertyReader MLIWiki:/MLIWiki/UserPreferences.jsp MLIWiki:https://tools.museslabs.us:9443/MLIWiki/UserPreferences.jsp - No jspwiki.custom.config defined for this context, looking for custom properties file with default name of: /jspwiki-custom.properties
> In my case, jspwiki-custom.properties is in /usr/share/tomcat8/lib with the owner:group root:root because, since there is no /home/tomcat, I had to supply overrides for properties that depend on a home directory in order to deploy the wiki and run Install.jsp.
> This JSPWiki has a customized jspwiki.policy and web.xml so only authenticated users can view or edit anything and all traffic is restricted to SSL connections.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)