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

Lance Bader commented on JSPWIKI-1049:
--------------------------------------

I believe I found a way to work around the problem.  Apparently having two 
cookies, one with the path */MLIWiki* and one with the path */MLIWiki/* 
poisoned the Firefox cookie jar and prevented updates with my preferences.  

* I deleted both cookies.
* I changed my bookmark so it was https://host:9443/MLIWiki (without the 
trailing slash) 
* I closed and reopened Firefox
* I used the bookmark, logged in, and set my preferences with no problems.

I know this makes it look like the problem was all my fault, but I maintain 
that JSPWiki should be immune from such an easy mistake.

> 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)

Reply via email to