Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression bugfix: import/export configuration broken due to nw.js bug #52

Merged
merged 2 commits into from
Feb 9, 2020
Merged

regression bugfix: import/export configuration broken due to nw.js bug #52

merged 2 commits into from
Feb 9, 2020

Conversation

cheffe112
Copy link
Contributor

The import/export configuration functionality silently fails since b93078f and simply does nothing when hitting the buttons. Digging deeper, it throws an "Invalid calling page. This function can't be called from a background page." error.
The reason is a bug in nw.js already reported on nwjs/nw.js#7349 and happens from nw.js 0.42.4.
Hence, the import/export functionality is currently unusable with nw.js >0.42.3 as integrated in b93078f.

This bugfix therefore reverts the nw.js version to the last known-to-work one (0.42.3) and also adds a terminal error message to catch this regression in case it appears again.

From nw.js 0.42.4, the import/export configuration functionality throws an "Invalid calling page. This function can't be called from a background page." error. This has been reported for nw.js already on nwjs/nw.js#7349.
Hence, the import/export functionality is currently unusable with nw.js >0.42.3 as integrated in b93078f.
@pschillinger
Copy link
Member

Thanks for investigating this! Sounds indeed a bit annoying. Since I don't have a good temporary workaround at the moment, reverting sounds ok for me.

@pschillinger pschillinger merged commit 29a65e8 into FlexBE:develop Feb 9, 2020
@cheffe112 cheffe112 deleted the bugfix-import-config branch February 9, 2020 12:08
pschillinger added a commit that referenced this pull request Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants