-
Notifications
You must be signed in to change notification settings - Fork 1
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
Added file name, size and hash to review. #109
Added file name, size and hash to review. #109
Conversation
@mickel1138 Do we need to add on-change javascript? Because when the file gets updated, the information still points to the previous information |
@praneethpr good question. I'm gonna say no, but i'll mention it to the P.O. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. Looks good. Meets ticket acceptance criteria. The only problem I found is that the sha hash might not have yet been processed by the consumer, which actually results in preventing the view or review mode from working altogether. To see this, null out the hash in the database. I attempted adding a | default to the template, but that didn't fix the behavior.
@fightingtexasaggie this is the correct behaviour, if there is not hash, the submission can not be reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, tested.
…-to-review Conflicts: src/Pelagos/Bundle/AppBundle/Controller/UI/DatasetReviewController.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed still works post-merge.
PELAGOS-3412 will modify the same file, so watch out for merge conflicts.