Some positive update towards a possible fix...

(In reply to Richard Leger from comment #66)
> (In reply to Anje from comment #61)
> > The issue regarding Home default calendar has not been discussed very much.
> I have suggested some troubleshooting steps here... 
> https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f-M8a0edcecc8ee0e80939c3f8b/local-calendar-events-lost
>  in an attempt to isolate the problem with home calendar and get possible 
> errors in the console. 

As per
https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f/local-
calendar-events-lost, Dimas confirmed encountering the **home calendar
event not showing** issue after upgraded from his latest 78 (78.9.1
64bits he thinks) to 91 stable (91.0 64bits). Installed manually over
the 78 in Program Files TB folder. Locale *ca* for all version. On
Windows 10 Pro 21H1 with the latest Windows Defender (no other
antivirus).

Following my suggestions, Dimas seemed to have isolated the problem,
after disabling/enabling again the local calendar while monitoring the
error console, still no event shows but in the console the following
error appears (same as reported in Bug 1729664 Comment 4):

````
TypeError: item.id is null (24 times)
CalStorageCalendar.jsm:2252:9
````
When trying to add an event, no additional error appears.

Using Firefox sqlite DB manager add-on (https://addons.mozilla.org/en-
GB/firefox/addon/sqlite-manager-webext/), he managed to open a copy of
the local.sqlite DB and run two SQL queries:

Searched for items with null id:
````SELECT * from cal_events WHERE id IS NULL LIMIT 100````
Found one and deleted it:
````DELETE FROM cal_events WHERE id IS NULL````

Saved the database, placed it back in TB profile.

He could then
- see the home calendar events again!
- sort his calendar event invites issue 
(https://thunderbird.topicbox.com/groups/beta/Tcee69c120cb7f65d)
- have new event created retained in new calendar (Bug 1729664 fix not yet 
applied)

While the above is a possible workaround, it may not be advised to
fiddle directly and manually with the sqlite DB as it may cause loss of
data and discrepancy in the DB.

@Geoff, put you in copy for your information as you may be the best
placed to understand why some event are set without item.id perhaps...
and possibly be able to **set a routine via a patch that could
automatically re-assign an item.id to any event without item.id in the
local.sqlite db cal_events table** (and elsewhere where applicable)? If
that is possible... Unless event with item.id NULL are *ghost* events...
maybe duplicate not (properly saved?) from other events with proper
item.id?

Hope the above helps the dev team fix the issue and anyone encountering
it.

Regards,

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/1945368

Title:
  Thunderbird 91 forgets default calendar

Status in Mozilla Thunderbird:
  Confirmed
Status in thunderbird package in Ubuntu:
  New

Bug description:
  Upon upgrading from Thunderbird 78 to 91, the default calendar for new
  events that I selected has been forgotten. I has Google set as the
  default, but Thunderbird 91 has changed the default to a local
  calendar that I rarely use.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: thunderbird 1:91.1.1+build2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  alistair   2076 F.... pulseaudio
  BuildID: 20210916142849
  CasperMD5CheckResult: unknown
  Channel: Unavailable
  CurrentDesktop: Unity:Unity7:ubuntu
  Date: Tue Sep 28 22:11:42 2021
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   # Include files from /etc/network/interfaces.d:
   source-directory /etc/network/interfaces.d
  IncompatibleExtensions:
   Lightning - {e2fda1a4-762b-4020-b5ad-a41df1933103}
   English (GB) Language Pack - [email protected]
   Thunderbird (default) - {972ce4c6-7e08-4474-a285-3208198ce6fd}
  InstallationDate: Installed on 2020-07-14 (441 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  IpRoute:
   default via 172.30.3.254 dev wlp0s20f3 proto dhcp metric 600 
   10.0.0.0/24 dev wg0 proto kernel scope link src 10.0.0.2 
   169.254.0.0/16 dev wg0 scope link metric 1000 
   172.30.0.0/22 dev wlp0s20f3 proto kernel scope link src 172.30.0.92 metric 
600
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/thunderbird/omni.ja:greprefs.js:359
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=91.1.1/20210916142849 (In use)
  RunningIncompatibleAddons: True
  SourcePackage: thunderbird
  UpgradeStatus: Upgraded to impish on 2021-09-24 (4 days ago)
  dmi.bios.date: 06/21/2021
  dmi.bios.release: 1.19
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N2WET29W (1.19 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20U9CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0R32862 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.8
  dmi.modalias: 
dmi:bvnLENOVO:bvrN2WET29W(1.19):bd06/21/2021:br1.19:efr1.8:svnLENOVO:pn20U9CTO1WW:pvrThinkPadX1CarbonGen8:skuLENOVO_MT_20U9_BU_Think_FM_ThinkPadX1CarbonGen8:rvnLENOVO:rn20U9CTO1WW:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad X1 Carbon Gen 8
  dmi.product.name: 20U9CTO1WW
  dmi.product.sku: LENOVO_MT_20U9_BU_Think_FM_ThinkPad X1 Carbon Gen 8
  dmi.product.version: ThinkPad X1 Carbon Gen 8
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1945368/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to