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

Fix error message on localFolderWhitelist #7776

Merged
merged 3 commits into from
May 2, 2024
Merged

Fix error message on localFolderWhitelist #7776

merged 3 commits into from
May 2, 2024

Conversation

normanrz
Copy link
Member

No description provided.

@normanrz normanrz requested a review from fm3 April 29, 2024 15:43
@normanrz normanrz self-assigned this Apr 29, 2024
Copy link
Member

@fm3 fm3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be honest I think localFolderWhitelist is not a good name for this config setting. While we’re here, maybe we should clean that up. I think to avoid confusion, we should use “Folder” only in context of the virtual in-database folders used for the dashboard, and “Directory” or “Path” everywhere else, if possible. What do you think?

However, if you need this to produce a readable error message quickly, feel free to merge this as is first and we’ll do the cleanup renaming later.

@normanrz
Copy link
Member Author

Fair enough. We can change the name of the key. Is that actually a per-datastore config?

@fm3
Copy link
Member

fm3 commented Apr 29, 2024

Is that actually a per-datastore config?

Yes, as it is assumed that datastores can each have their own filesystem. The wk side never reads this config value, only the datastore module.

@fm3
Copy link
Member

fm3 commented Apr 30, 2024

Looks like this is messed up more than I expected, the wk side also reads this list from the datastore config block, to assert this during exploring. I think that does not really make sense with a multi-datastore setup. I’ll have to have a closer look at this stuff.

@fm3
Copy link
Member

fm3 commented May 2, 2024

Follow-up issues #7781 and #7780

Should’t block this error message fix.

@fm3 fm3 enabled auto-merge (squash) May 2, 2024 15:04
@fm3 fm3 merged commit 0e6ce88 into master May 2, 2024
2 checks passed
@fm3 fm3 deleted the normanrz-patch-2 branch May 2, 2024 15:23
dieknolle3333 pushed a commit that referenced this pull request May 8, 2024
* Update ExploreRemoteLayerService.scala

* Update RemoteSourceDescriptorService.scala

---------

Co-authored-by: Florian M <[email protected]>
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