Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Archiving a reservation with no reserver fails #1253

Closed
@orenyk

Description

@orenyk

This is an unfortunate bug since it was one of the original reasons we created an archive action to begin with; it's is a consequence of our notes generation in the Reservation#archive method since we currently try to make links for everything. Steps to replicate:

  1. Create reservation
  2. Manually set reserver: nil
  3. Attempt to archive said reservation

Expected: Success
Actual: Failure

We just need to make sure not to call reserver.md_link if reserver == nil.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions