glFusion

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000832glFusion CMSAdministrationpublic2012-01-11 10:412012-03-28 11:06
Reporterlgarner 
Assigned Tomark 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.2.2 
Target Version1.3.0Fixed in Version1.3.0 
Summary0000832: If user timezone is empty, timezone is set incorrectly when user is edited by an admin
DescriptionIf the tzid field in gl_userprefs is empty, which is normal when a new user registers in 1.2.2 and prior, the site timezone isn't selected when an admin edits the user account. If the admin isn't watching for this, the timezone gets set incorrectly when the account is saved.
Steps To ReproduceUser registers (timezone is empty)
Admin edits account, doesn't look at the timezone.
Admin saves the account, timezone is set to the first entry in the selection: "-11, WST (Pacific/Apia)", or "Africa/Abidjan" for glFusion 1.3.0svn, haven't checked 1.3.0
Additional InformationThe empty timezone upon registration is fixed in 1.4.0svn, but for existing accounts and as a safety measure it'd be good to check this in admin/user.php:

Index: public_html/admin/user.php
===================================================================
--- public_html/admin/user.php (revision 7048)
+++ public_html/admin/user.php (working copy)
@@ -814,7 +814,7 @@

     // Timezone

- if ( isset($U['tzid']) ) {
+ if ( isset($U['tzid']) && !empty($U['tzid']) ) {
         $timezone = $U['tzid'];
     } else {
         $timezone = $_CONF['timezone'];

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001159)
mark (administrator)
2012-03-28 11:06

The new timezone handling should solve this issue.
(0001160)
mark (administrator)
2012-03-28 11:06

New timezone handling should resolve this issue.

- Issue History
Date Modified Username Field Change
2012-01-11 10:41 lgarner New Issue
2012-03-28 11:06 mark Assigned To => mark
2012-03-28 11:06 mark Status new => acknowledged
2012-03-28 11:06 mark Resolution open => fixed
2012-03-28 11:06 mark Fixed in Version => 1.3.0
2012-03-28 11:06 mark Note Added: 0001159
2012-03-28 11:06 mark Note Added: 0001160
2012-03-28 11:06 mark Status acknowledged => resolved


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker