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

User preferences are not saved.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.2
    • Fix Version/s: None
    • Component/s: Templates and UI
    • Labels:
      None
    • 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

      Description

      • 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ldbader0 Lance Bader
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: