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

Same holder as owner makes item unusable #226

Open
IsThisTheCrustyCrab-was-taken opened this issue Jan 5, 2023 · 0 comments
Open

Same holder as owner makes item unusable #226

IsThisTheCrustyCrab-was-taken opened this issue Jan 5, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@IsThisTheCrustyCrab-was-taken
Copy link
Collaborator

Bug: Same holder as owner makes item unusable

Problem Description

When creating an item and choosing the same user for holder and owner the item now becomes locked to that holder and doesn't seem to be able to be unlended.

  1. What happens: A user creates an item and sets i.e. themself as owner and holder
  2. What is the expected behaviour: Either the holder cannot be set to owner or the rental can be ended.
  3. Why is this a problem: Users can accidentally create unlendable items.

Steps For Reproduction

  1. create new item
  2. set self as owner and holder
  3. other users now cannot request to borrow the item and you cannot stop your own rental
@IsThisTheCrustyCrab-was-taken IsThisTheCrustyCrab-was-taken added the Bug Something isn't working label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant