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

Added file name, size and hash to review. #109

Merged

Conversation

mickel1138
Copy link
Member

PELAGOS-3412 will modify the same file, so watch out for merge conflicts.

@praneethpr
Copy link
Contributor

praneethpr commented Dec 7, 2018

@mickel1138 Do we need to add on-change javascript? Because when the file gets updated, the information still points to the previous information

@mickel1138
Copy link
Member Author

@praneethpr good question. I'm gonna say no, but i'll mention it to the P.O.

Copy link
Member

@fightingtexasaggie fightingtexasaggie left a 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.

@mickel1138
Copy link
Member Author

@fightingtexasaggie this is the correct behaviour, if there is not hash, the submission can not be reviewed.

Copy link
Member

@fightingtexasaggie fightingtexasaggie left a 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
Copy link
Member

@fightingtexasaggie fightingtexasaggie left a 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.

@mickel1138 mickel1138 merged commit d67f158 into develop Dec 10, 2018
@mickel1138 mickel1138 deleted the feature/PELAGOS-3413-add-file-information-to-review branch December 10, 2018 19:16
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.

3 participants