QS-backup-and-restore-app icon indicating copy to clipboard operation
QS-backup-and-restore-app copied to clipboard

Can't backup with 0.10 beta

Open lennartq opened this issue 8 years ago • 4 comments

With version 0.10, I can see a list of apps, select and open one, but when I click Backup, the spinner goes on forever and no file is downloaded. Version 0.9.4 works fine. Tested as server plugin on Qlik Sense 3.0.4, browsers Chrome, IE, Firefox, and with Qlik Sense Desktop 3.1.3.

lennartq avatar Dec 14 '16 08:12 lennartq

Having the same problem. In JS Console, it points to an error in line 495 of backup-and-restore.js requiring SerializeApp.Bundle. May want to start looking there.

495: serializeAppBundle(main.app).then(function (data) {

NOTE: Using Qlik Sense Enterprise, 3.1.4

See 2017-01-18_12-36-06_01

newmans99 avatar Jan 18 '17 17:01 newmans99

Seems like two problems. serializeAppBundle should be serializeApp, which is the required in module, and the module itself is not exporting functions correctly (coming in undefined).

mmacaula avatar Jan 20 '17 23:01 mmacaula

I was able to get it working by re-running browserify on the serializeapp project: browserify index.js -s serializeapp > bundle.js, and changing the call from serializeAppBundle to serializeApp in the main js file of the extension. I re-zipped everything and have attached it here if you don't want to go through those steps yourselves @lennartq @countnazgul , use at your own risk.

QS-backup-and-restore-app.zip

mmacaula avatar Jan 22 '17 22:01 mmacaula

Thanks, @mmacaula . I'll stay with 0.9.4 for now, but it's good to know it was a straightforward bug.

lennartq avatar Jan 23 '17 08:01 lennartq