Loading...
 
Skip to main content

Displayed timezone field deactivated if set to Site Default even if user preference allowed

Status
Closed
Subject
Displayed timezone field deactivated if set to Site Default even if user preference allowed
Version
14.x
Category
  • Usability
Feature
Date and Time
User Preferences
Resolution status
Fixed or Solved
Submitted by
aexoxea
Lastmod by
lindon
Rating
(1)
Description

In Tiki 14, if a user sets their "Displayed timezone" preference (under User Preferences > Preferences > Displayed timezone) to "Site default" and saves this change, then whenever the Preferences page is loaded afterwards for that user:

  • the "Displayed timezone" field is deactivated (i.e. cannot be changed by the user).
  • the message "Warning: Site time zone xxxxx is enforced and overrides user preferences" is displayed below the field (where "xxxxx" is the default site timezone).


This occurs irrespective of Displayed time zone setting under General Preferences (i.e. even if it is set to "Use time zone set from user preferences...", the setting still cannot be changed).


Edit 2015-11-03: This bug does not appear when using admin privileges to edit a user's settings, only when the user themselves tries to.

Solution
Fixed with commit r56624 for 14.x and merged to trunk.
Workaround

No workaround within Tiki; you need to edit the database and change the value in the display_timezone field to something other than "Site".


Edit 2015-11-03: Another workaround now noted is that a user with admin privileges can change the setting within Tiki for an affected user.

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5741
Created
Friday 23 October, 2015 11:47:17 UTC
by aexoxea
LastModif
Wednesday 04 November, 2015 03:06:21 UTC


Show PHP error messages