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

When is .organice-config.json loaded? #895

Open
schoettl opened this issue Aug 23, 2022 · 4 comments · May be fixed by #901
Open

When is .organice-config.json loaded? #895

schoettl opened this issue Aug 23, 2022 · 4 comments · May be fixed by #901
Labels
question Further information is requested

Comments

@schoettl
Copy link
Collaborator

I'm trying to supply a standard organice config file for employees. But when I place it in the root of the Dropbox, it does not seem to be loaded into organice.

  • I pressed Ctrl-F5 in organice
  • I logged in and out in Dropbox

But the capture templates from the new organice config are not loaded.

Any ideas why?

@munen
Copy link
Collaborator

munen commented Oct 21, 2022

The config is loaded on startup. What you are describing sounds like a bug. To be more blunt, what you're describing is that the config file is not working at all, which wouldn't be great(;

I have tried to reproduce it and couldn't. Here's a video of what I tried: https://www.dropbox.com/s/ubwnq9uvmqaj22y/2022-10-21_demo_config_file.mkv?dl=0

Can you elaborate what you're doing differently than in the demo so that we can pinpoint where the problem resides.

@munen munen added the question Further information is requested label Oct 21, 2022
@schoettl
Copy link
Collaborator Author

Thank you for testing this! Turns out that the reason was an config file with missing keys at my side: In my template config, I have removed the key lastSeenChangelogHash.

The thing is that organice does not log any error when it cannot load the config. That would be helpful.

@schoettl schoettl removed the bug Something isn't working label Oct 21, 2022
@munen
Copy link
Collaborator

munen commented Oct 21, 2022

The thing is that organice does not log any error when it cannot load the config. That would be helpful.

Agreed. Improved error handling is always a good improvement 👍

@schoettl
Copy link
Collaborator Author

For reference, the place to enhance error logging is around here: settings_persister.js line 395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants