W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [widgets] Widgets Updates

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Thu, 19 Aug 2010 10:09:41 +0100
Cc: Rich Tibbett <richt@opera.com>, public-webapps@w3.org
Message-Id: <AC1D400F-D57A-4160-9552-23D7D58D2576@gmail.com>
To: Bernard Traversat <bernard.traversat@oracle.com>
On 16 Aug 2010, at 21:29, Bernard Traversat wrote:

> On 8/16/10 2:34 AM, Rich Tibbett wrote:
>> On 14/08/2010 03:12, Bernard Traversat wrote:
>>> Should we have a more explicit way to specify and notify users that some updates may require data conversion and
>>> user data will be converted after the widget is updated? Due to the error-prone nature of such conversion, users
>>> may want to back up their data before proceeding with an update.
>> I'm not sure I understand what you mean.
>> User data is not stored in a widget package itself. An update to an existing widget should be able to access the storage space used by previous versions of the same widget.
>> If data conversion is required perhaps you have a use case we could look at.
> The data conversion is the use case i was referring to. We should have a more explicit way to tell the end-users upfront that by installing the new update
> his/her data will be converted with the potential risk of losing data and never going back to the older version.

I think this UC is already covered by the Update Description Document; the widget author can put a warning in the details about the update, and the UA can then display that to the user. E.g.

<update-info xmlns="http://www.w3.org/ns/widgets" src="http://evil-fruit-company.com/sins/unoriginal-patent.wgt" version="1.1">
  This update makes everything look really cool. Warning! This update will convert your existing data to a new format!

> Hth,
> B.
>> Regards,
>> Rich
Received on Thursday, 19 August 2010 09:10:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:10 UTC