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

Bolt overrides each instance when edit is called #128

Open
PossibleLlama opened this issue Jan 24, 2023 · 0 comments
Open

Bolt overrides each instance when edit is called #128

PossibleLlama opened this issue Jan 24, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@PossibleLlama
Copy link
Owner

Describe the bug
Edit updates the reference in bolt instead of creating a new log. Noticed during work to export all revisions.

To Reproduce
Steps to reproduce the behaviour:
(you'll need go install go.etcd.io/bbolt/cmd/bbolt@latest to view the database entries.

  1. worklog create --title "foo"
  2. worklog edit <abc> --title "bar"
  3. bbolt keys ~/.worklog/worklog.db Work - This will show 1 item, whereas it should show 2.

Expected behaviour
Each edit will create a new (and separate) log, all of which can be retrieved.

Environment (please complete the following information):

  • OS: Linux Debian
  • Version 0.6.11

Additional context

@PossibleLlama PossibleLlama added the bug Something isn't working label Jan 24, 2023
@PossibleLlama PossibleLlama added this to the v0.7.0 milestone Jan 24, 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