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

CBRAIN should not change data provider type arbitrary (in presence of missed or incorrect fields) #1407

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

MontrealSergiy
Copy link
Contributor

@MontrealSergiy MontrealSergiy commented Jul 9, 2024

Makes sure that CBRAIN does not change new data provider type arbitrary due validation errors, such as supplying already existing name, missing it completely etc fixes #1406

@prioux
Copy link
Member

prioux commented Jul 9, 2024

How does this work? Shouldn't that raise an exception?

@prioux
Copy link
Member

prioux commented Jul 9, 2024

Have you tested this?

@prioux
Copy link
Member

prioux commented Jul 9, 2024

Oh, is it a named parameter? Don't use the name, since we're not all using the same versions of Ruby everywhere.

@MontrealSergiy
Copy link
Contributor Author

corrected

@MontrealSergiy MontrealSergiy changed the title CBRAIN should not change data provider type arbitrary CBRAIN should not change data provider type arbitrary (in presence of missed or incorrect fields) Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing a mandatory field when creating a new Data Provider should not alter the type
2 participants