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

Check row count or last log book row before saving #75

Open
daniele-athome opened this issue Aug 13, 2023 · 0 comments
Open

Check row count or last log book row before saving #75

daniele-athome opened this issue Aug 13, 2023 · 0 comments
Labels
📒 flight-log Flight log section 🚀 enhancement New feature or request

Comments

@daniele-athome
Copy link
Owner

daniele-athome commented Aug 13, 2023

To defend against overwrite of log book rows, put a safety check before creating a row to check:

  • if the current row number is still the same
  • if the last (end) hour meter value is still the same (not necessarily the new start value; the last end value must be kept some how)
  • if the last row timestamp (column A) is still the same from when the modal was opened

When updating or deleting a row, reload the row from the server and verify that the whole model is identical to the one we have.

@daniele-athome daniele-athome added 🚀 enhancement New feature or request 📒 flight-log Flight log section labels Aug 13, 2023
@daniele-athome daniele-athome added this to the Productization milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📒 flight-log Flight log section 🚀 enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant