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

Task related to appeals bugfix. #20369

Merged
merged 3 commits into from
Dec 29, 2023
Merged

Conversation

Rnmarshall93
Copy link
Contributor

Resolves APPEALS-37011

Description

Previously, when a user added a new task related to an appeal, the ID of the task would be set to the length of the array + 1. This caused bugs, and, the logic that assigns IDs to tasks has now been refactored. The logic now takes the highest ID in the list of appeals and adds 1, or, if there are none it sets the ID to 0.

Acceptance Criteria

  • Code compiles correctly

@jimfoley25 jimfoley25 merged commit cc49181 into feature/APPEALS-27311 Dec 29, 2023
9 of 14 checks passed
@jimfoley25 jimfoley25 deleted the ryan/APPEALS-37011 branch December 29, 2023 16:46
craigrva pushed a commit that referenced this pull request Jan 24, 2024
* Refactored task ID logic for related tasks.

* Updated logic to be cleaner.

---------

Co-authored-by: Jim Foley <james.foley4@va.gov>
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