Bug #2632

TimeZone with unknown format blocks Mozilla Lightning

Added by Alessio Fattorini over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:HighDue date:
Assignee:-% Done:

100%

Category:sogo-frontends
Target version:v6.5-rc1
Security class: Resolution:
Affected version:v6.4-beta2 NEEDINFO:No

Description

The TimeZone preference on sogo-integrator can't be set on a TimeZone like "Greenwich" (copy from "config show TimeZone" command)
Lightning wants a Time Zone format like: Continent/City
It doesn't work if there is a different configuration, it's not possibile create events, read events, etc..

The configuration is on:

/etc/e-smith/templates/sogo-frontends/sogo-integrator-24.0.3-sogo-demo.xpi.patch

line:

+pref("calendar.timezone.local", "/mozilla.org/20070129_1/{$TimeZone || 'UTC'}");

issue2632.patch Magnifier (1.43 KB) Alessio Fattorini, 02/11/2014 04:28 PM


Related issues

Related to NethServer 6 - Enhancement #2535: Thunderbird 24 support CLOSED 12/20/2013 12/20/2013
Related to NethServer 6 - Feature #2657: Fetch binary dependencies from SHA1SUM CLOSED

Associated revisions

Revision 310ba27c
Added by Alessio Fattorini over 7 years ago

xpi: remove calendar.timezone.local to avoid timezone problems. Refs #2632

Revision bb9366df
Added by Giacomo Sanchietti over 7 years ago

xpi patch: fix diff format. Refs #2632

History

#1 Updated by Alessio Fattorini over 7 years ago

  • Tracker changed from Feature to Bug
  • Description updated (diff)

#2 Updated by Alessio Fattorini over 7 years ago

1. A possibile solution can be setting TimeZone on a standard Timezone, not from NethServer TimeZone

2. I'm not sure if we delete configuration at all, it works the same.

#3 Updated by Davide Principi over 7 years ago

Alessio Fattorini wrote:

1. A possibile solution can be setting TimeZone on a standard Timezone, not from NethServer TimeZone

Where do you think we can read a good default on the server side?

2. I'm not sure if we delete configuration at all, it works the same.

It would be fantastic if the time zone is peeked from the client OS preferences.

#4 Updated by Davide Principi over 7 years ago

  • Affected version set to v6.5-beta3

#5 Updated by Davide Principi over 7 years ago

  • Target version set to v6.5-beta3
  • Affected version changed from v6.5-beta3 to v6.4-beta2

#6 Updated by Filippo Carletti over 7 years ago

  • Target version changed from v6.5-beta3 to v6.5-rc1

#7 Updated by Alessio Fattorini over 7 years ago

Where do you think we can read a good default on the server side?

I don't know :-(

It would be fantastic if the time zone is peeked from the client OS preferences.

I should test it

#8 Updated by Alessio Fattorini over 7 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Alessio Fattorini
  • % Done changed from 0 to 20

Deleting the prefs in sogo-integrator-24.0.3-sogo-demo.xpi.patch lightning choose correct data/time from the system, then this row could be deteled!
This the easiest fix!

#9 Updated by Alessio Fattorini over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#10 Updated by Alessio Fattorini over 7 years ago

  • File issue2632.patchMagnifier added
  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Patch is attached below

#11 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee changed from Alessio Fattorini to Giacomo Sanchietti

#13 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to TRIAGED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 20

Patch applied but package can't be built because required binary files can't be found.

Remove the binary downloads from the spec and put them to a binary store or manually download before the build.
Download of lightning xpi can be safely removed.

#14 Updated by Davide Principi over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#15 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

#16 Updated by Davide Principi over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
sogo-frontends-1.2.0-1.0git310ba27c.ns6.noarch.rpm

#17 Updated by Alessio Fattorini over 7 years ago

I guess that there is some problem during the building of the package

In this folder i find only:

[root@botolo xpi]# ll /var/lib/nethserver/sogo-thunderbird/
totale 164
-rw-r--r--. 1 root root 163999 13 feb 10:10 sogo-integrator-10.0.3.xpi

No integrator for 24 and 17 version

#18 Updated by Alessio Fattorini over 7 years ago

  • Status changed from ON_QA to TRIAGED
  • % Done changed from 70 to 20

#19 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#20 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Removed support for TB <= 24.

#21 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-sogo-thunderbird-1.1.0-1.0git3194506e.ns6.noarch.rpm
  • sogo-frontends-1.2.0-3.0gitbb9366df.ns6.noarch.rpm
Test case
  • Check generated XPI (only on Thunderbird 24)
  • Open the page with a browser configured for Italian and English language, check the page is served in the correct language

#22 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#23 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

  • http://myhost/sogo-thunderbird is served with the expected language
  • XPI seems to work:
    • installed TB
    • configured SMTP/IMAP account
    • imported server certificate
    • installed SOGo Integrator
    • checked addressbook works
    • installed Lightning
    • checked calendars work. Moreover, event times are the same both on SOGo UI and TB/Lightning

#24 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

#25 Updated by Davide Principi over 7 years ago

In nethserver-updates:
nethserver-release-6.5-4.ns6.rc1.noarch.rpm
nethserver-devbox-1.4.0-1.ns6.noarch.rpm
nethserver-backup-data-1.0.9-1.ns6.noarch.rpm
nethserver-base-2.1.0-1.ns6.noarch.rpm
nethserver-directory-2.0.1-1.ns6.noarch.rpm
nethserver-firewall-base-1.1.0-1.ns6.noarch.rpm
nethserver-hosts-1.0.7-1.ns6.noarch.rpm
nethserver-httpd-2.3.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.2.1-1.ns6.noarch.rpm
nethserver-hylafax-1.0.5-1.ns6.noarch.rpm
nethserver-ibays-2.0.3-1.ns6.noarch.rpm
nethserver-lib-2.0.1-1.ns6.noarch.rpm
nethserver-mail-server-1.6.1-1.ns6.noarch.rpm
nethserver-nethgui-1.4.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.2-1.ns6.noarch.rpm
nethserver-nut-1.0.7-1.ns6.noarch.rpm
nethserver-openssh-1.0.5-1.ns6.noarch.rpm
nethserver-roundcubemail-0.0.2-1.ns6.noarch.rpm
nethserver-samba-1.4.2-1.ns6.noarch.rpm
nethserver-shorewall-1.0.4-1.ns6.noarch.rpm
nethserver-sogo-thunderbird-1.1.1-1.ns6.noarch.rpm
nethserver-vpn-1.1.2-1.ns6.noarch.rpm
sogo-frontends-1.3.0-1.ns6.noarch.rpm

Also available in: Atom PDF