Bug 425903

Summary: "Account is offline" dialog does not appear while making changes
Product: [Applications] korganizer Reporter: Shashwat Jolly <shashwat.jolly>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The "Resource is offline" popup dialog which should appear when making any change.

Description Shashwat Jolly 2020-08-28 14:08:59 UTC
Created attachment 131243 [details]
The "Resource is offline" popup dialog which should appear when making any change.

SUMMARY
When a resource is set to offline using ResourceBase::setOnline(false), right clicking the root resource collection and selecting "Update Calendar" (or "Update Address Book" does not do anything. Similary, adding/modifying items and collections silently does nothing as well. 
The behaviour is different when "Update a folder" is selected in the menu. A dialog pops up with says "The account is "Before syncing folder "<collection _name>" it is necessary to have the resource online. Do you want to make it online?".

OBSERVED RESULT
Different behaviours (wrt the "Resource is offline" popup dialog) when doing different things while the resource is offline.


EXPECTED RESULT
The "Do you want to make the resource online?" dialog should appear when making any change to items or collections owned by the resource.


SOFTWARE/OS VERSIONS
Ubuntu 20.04