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

Don't modify org/unit on timecard form submission and correct impacted timecards #1129

Merged
merged 4 commits into from
Jul 13, 2020

Conversation

Jkrzy
Copy link
Contributor

@Jkrzy Jkrzy commented Jul 2, 2020

Description

resolves #1126

We exclude organization and unit from the TimecardForm so that when bound instances are saved with POST data, lacking org/unit, existing values are not modified.

Also includes a data migration to set all existing timecards without organization, those impact by the bug described in #1126, are updated to their associated user's current org/unit.

@timoballard timoballard merged commit 3d279a0 into main Jul 13, 2020
@Jkrzy Jkrzy deleted the timecard-creation branch August 3, 2020 17:31
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.

New timecards must be set to their user's organization and business unit
3 participants