-
Notifications
You must be signed in to change notification settings - Fork 4
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
Validate filebrowser/upload fields #288
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
==========================================
- Coverage 78.61% 78.41% -0.20%
==========================================
Files 17 17
Lines 2001 1997 -4
==========================================
- Hits 1573 1566 -7
- Misses 428 431 +3 ☔ View full report in Codecov by Sentry. |
@nbenn: I started to check this one. I saved a copy of my workspace and tried to restore it, which gave to the same error @JohnCoene found. I'll check further tomorrow what's going on (if we can fix that in this PR). |
@JohnCoene @nbenn: there seem to be a timing issue, the validation is not called at the right time (too late) and the parser block receives the old path:
Can we validate the parsers instead? We'd need to setup a field containing the path passed from the upload block and check it. |
@JohnCoene @DivadNojnarg could we please make it a habit to provide an example if you run into an error? I'm happy to try and fix this, but I cannot reproduce. For me,
For this I get a reasonable result: ![]() |
With
I can reproduce the following issue
|
Fixes #284.
@DivadNojnarg I'm using
validate_field()
towhat do you think? It makes for very compact blocks.
@JohnCoene you did not provide a reprex, so I could not check whether this fixes your issue. I think it might though. Could you check?