FlexBE / flexbe_app

The classic user interface (editor + runtime control) for the FlexBE behavior engine. See the flexbe_webui for latest
BSD 3-Clause "New" or "Revised" License
48 stars 49 forks source link

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

Closed cheffe112 closed 4 years ago

cheffe112 commented 4 years ago

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.

pschillinger commented 4 years ago

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.