Problem with widget import from backup

Post your questions and help other users.

Moderator: Martin

Post Reply
eldron
Posts: 45
Joined: 27 Apr 2015 08:21

Problem with widget import from backup

Post by eldron » 17 Aug 2016 07:20

Hi,
I have just changed phones and used titanium backup to restore automagic to the new phone. It´s the same phone model (both Galaxy S4), so I didn´t expect any major problems. I started automagic and was told that because of a security measure all flows had been disabled. After activating all flows and giving automagic all its necessary permissions, all my flows were working again :-)
I thought I was sorted now, until I tried to use a widget. The overlay opened just fine, but when I clicked on any of the buttons nothing happened. I tried another widget - same problem. So I checked the widgets in the editor and saw that all the clickable action fields are empty - in all the widgets.
As I have a backup of the widget xml file on my computer, I copied that into the automagic folder on my phone and replaced the existing one. I then opened automagic and the clickable actions were all gone again. I opened the xml file and compared it to the original file - the file had been changed and all clickable action entries were empty.
So I copied the file again, opened it on my phone (before opening automagic)- all clickable action entries were there. I opened automagic, then opened the xml file again - all clickable actions entries were gone.
Assigning a new clickable action to an existing widget does work and that new entry does not get deleted.
Any idea what´s causing this?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Problem with widget import from backup

Post by MURTUMA » 17 Aug 2016 08:18

You must wait for Martin to come back to work for dealing with the problem, but I might have a workaround for you. Instead of manually placing widgets.xml in Automagic folder, copy it somewhere else and use action Import Flows/Widgets to import the file to see if that works.

eldron
Posts: 45
Joined: 27 Apr 2015 08:21

Re: Problem with widget import from backup

Post by eldron » 17 Aug 2016 10:00

Hi Murtuma,
thanks for your quick reply.
I´ll try your workaround when I get back from work. Do I need to delete the existing widgets first or will they be overwritten?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Problem with widget import from backup

Post by MURTUMA » 17 Aug 2016 10:42

I'm not sure. I can't reproduce your problem so this is just a guess work. However, I'd do it just to be sure.

eldron
Posts: 45
Joined: 27 Apr 2015 08:21

Re: Problem with widget import from backup

Post by eldron » 17 Aug 2016 21:04

@Murtuma
Just wanted to thank you for your tip, the import action did the trick. I ticked the box to overwrite existing flows/widgets and now it´s all working again.
Would still be interesting to know what went wrong in the first place though.

Post Reply