Bug 127930 - iOS: remove external templates when template URL is empty
Summary: iOS: remove external templates when template URL is empty
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: iOS Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other iOS
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 13:41 UTC by Nicolas Christener
Modified: 2019-10-03 12:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2019-10-02 13:41:09 UTC
Description:
The iOS app offers a way to load external templates through the "Template list URL" in the app settings.

When a URL is added the app will download the templates and make them available for offline usage.

It's however not that easy to get rid of those templates. Just removing the URL will not remove the templates. Currently the easiest way to remove the templates is through uninstalling the app.

I propose the following functionallity:

* If a URL is present and the app can download templates: download & store them
* If a URL is present but server/files is/are not reachable: keep exisiting templates
* If the URL field is empty: remove existing templates and offer the default templates again

Steps to Reproduce:
1.) add a template URL in the iOS app settings pointing to existing templates
2.) restart the app
3.) check that "Create from template" presents the templates from the server
4.) remove the template URL in the iOS app settings (clear field)
5.) restart the app
6.) check if "Create from template" still presents the templates from the server

Actual Results:
The templates from the server are still present.

Expected Results:
The templates from the server should not be present anymore. Instead the default template shipped with the app should be bresent now.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2019-10-03 12:10:11 UTC
Moving to NEW as agreed in the ESC meeting