Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 40255200C0E for ; Wed, 1 Feb 2017 18:52:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3EBD1160B46; Wed, 1 Feb 2017 17:52:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8F65F160B41 for ; Wed, 1 Feb 2017 18:52:05 +0100 (CET) Received: (qmail 40875 invoked by uid 500); 1 Feb 2017 17:51:59 -0000 Mailing-List: contact dev-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jspwiki.apache.org Delivered-To: mailing list dev@jspwiki.apache.org Received: (qmail 40858 invoked by uid 99); 1 Feb 2017 17:51:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2017 17:51:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 34982C10B7 for ; Wed, 1 Feb 2017 17:51:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.997 X-Spam-Level: X-Spam-Status: No, score=-1.997 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id tm0FjRoa3CiJ for ; Wed, 1 Feb 2017 17:51:58 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AC6415F613 for ; Wed, 1 Feb 2017 17:51:57 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0EBD0E023B for ; Wed, 1 Feb 2017 17:51:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C3EF32528A for ; Wed, 1 Feb 2017 17:51:51 +0000 (UTC) Date: Wed, 1 Feb 2017 17:51:51 +0000 (UTC) From: "Harry Metske (JIRA)" To: dev@jspwiki.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JSPWIKI-1049) User preferences are not saved. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 17:52:06 -0000 [ 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)