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

Importing Metabase project results in bogus "profiles" #2487

Closed
jeff303 opened this issue Jan 25, 2021 · 1 comment
Closed

Importing Metabase project results in bogus "profiles" #2487

jeff303 opened this issue Jan 25, 2021 · 1 comment
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build
Milestone

Comments

@jeff303
Copy link

jeff303 commented Jan 25, 2021

When importing metabase, it seems that Cursive detects a bunch of bogus profiles. Looks to be some kind of parsing problem. Example screenshot here:

MdhcC17

@cursive-ide cursive-ide added this to the 1.10.1 milestone Jan 25, 2021
@cursive-ide
Copy link
Owner

The problem with this is the composite profiles, which contain both keywords and maps:

   :run-with-repl
   [:exclude-tests
    :include-all-drivers

    {:env
     {:mb-jetty-join "false"}

     :repl-options
     {:init    (do (require 'metabase.core)
                   (metabase.core/-main))
      :timeout 60000}}]

I've never seen maps used in composite profiles before. The documentation doesn't say this is allowed, but then hints that it might be but says not to mix them:

It is not recommended to make a composite profile which contains both keywords and maps; they should either be all keywords or all maps.

Anyway, this will be fixed for the next build.

@cursive-ide cursive-ide modified the milestones: 1.10.1, 1.10.1-eap2 Jan 29, 2021
@cursive-ide cursive-ide added the bug Marks issues describing bugs label Jan 29, 2021
@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build
Projects
None yet
Development

No branches or pull requests

2 participants