Skip to content

Move abort results to ticket #12162

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danieljames-dj
Copy link
Member

WRT (very rarely) abort results in case some issues are there with submission and ask the Delegate to resubmit.

Currently this flow is apparently not working because I missed to consider this during the recent works, but luckily we didn't had any case of abort so far.

I've also changed the behavior of how results can be aborted. I feel this current way is bit more cleaner and easy to understand.

Copy link
Member

@gregorbg gregorbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have a merge conflict now, please resolve.

Comment on lines 44 to 45
if @competition.results_submitted? && [email protected]_posted?
@competition.update(results_submitted_at: nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did these checks go? Does results_submitted_at still play a role in your new tickets system?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay after some thoughts I made some changes now.

I was attempting to not reset results_submitted_at when the results are cleared, instead just aborting the ticket which allows the Delegate to resubmit. But I see that this requires much more changes - like results-not-submitted nags are depending on results_submitted_at, similarly posting dashboard is using the same, etc. So I feel it's too early to go that way.

I've now brought this method back and is reusing this to clear results submission. Sorry for causing confusions.

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.

2 participants