Affects Version/s: 2.10.2
Fix Version/s: None
Component/s: Templates and UI
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
- 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:
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.