BlueHuskyStudios / BlueHuskyStudios/Rent-Split

If an expense is filtered to only be paid by certain people, and you remove all those people, no one is paying the expense

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### Reproduction steps:
- Add a third roommate
- Filter an expense to only be paid by the third roommate
- Remove the third roommate

#### Expected behavior:
- UI doesn't let you
or:
- Expense is marked as invalid
or:
- Expense is automatically filtered so that everyone remaining shares it (probably not great)

#### Actual behavior:
- The expense now has no one paying it, a state that the UI otherwise doesn't allow you to enter

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the listed roommate and expense-filter sequence in the UI, then trace the code handling roommate removal and filtered expense payers. Compare the available expected behaviors and ensure the application cannot leave an expense with no paying people, with a regression test or equivalent verification for the reproduction case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kotlin
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.