-
Notifications
You must be signed in to change notification settings - Fork 43
files: added errors on draft create #296
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
Open
carlinmack
wants to merge
4
commits into
inveniosoftware:master
Choose a base branch
from
carlinmack:carlin-patch-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9efb498 to
15a32e0
Compare
10 tasks
8b89382 to
3a3ce70
Compare
3a3ce70 to
d31b48f
Compare
d31b48f to
2ae9c99
Compare
9cde0b8 to
65ed9e1
Compare
Contributor
|
Do these errors show up in the UI? If so, can you please add a screenshot? |
and extract _check_files_exist to a common function to facilitate
65ed9e1 to
87949e5
Compare
Contributor
Author
|
just rebased on master so the tests can run again, and added a picture |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❤️ Thank you for your contribution!
Description
On initial draft creation, no errors were being forwarded for empty files while on successive saves/updates they do.
Before and after of pressing save draft once (to create it). With my change the files not being there is also shown as an error, as both create and update check for the files
I recommend reviewing by reading the commits in order
assign_files_enabledinto a common function as the implementations slightly differed but should be the samecheck_files_existand add this to thecreatehandlerChecklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Frontend
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: