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

Bug: When importing a JSON app configuration query datasources are not found #94

Closed
swright-eti opened this issue Dec 5, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@swright-eti
Copy link

Steps to reproduce

  1. Export an application containing Datasources for REST APIs
  2. Import the application into a new instance of OpenBlocks
  3. Open one of the queries in the OpenBlocks UI

You will see the Data Source field contains a chunk of JSON. See below.

You can work around this by just selecting the datasources and setting them, in my case to REST Query. OpenBlocks will then helpfully ask if you want to change all datasources in the application. Just answer yes.

image

@neon-balcony
Copy link
Contributor

Hi @swright-eti,

Thanks for the report! We'll fix this in next release.

@neon-balcony neon-balcony added the bug Something isn't working label Dec 6, 2022
@lmx1117
Copy link
Collaborator

lmx1117 commented Dec 9, 2022

Hi swright-eti, this issue is already solved, please check it out, and thanks again for your advice and patience. 😉

@swright-eti
Copy link
Author

Awesome thanks

@abulka
Copy link

abulka commented Feb 11, 2023

A similar problem occurs when importing an app which uses modules, the modules are not found - even if I have already imported those modules. It looks like the module "applicationId" gets changed on import, so the references from the app to that module can never be resolved and don't link up (they refer to the original module id and of course not to the module id of the imported module which is newly allocated). Should I raise a separate issue for this?

P.S. Also, imported modules don't appear in the Home / Modules area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants