Skip to content

Disable apply button to workaround data loss issue#2204

Merged
droidmonkey merged 2 commits intorelease/2.3.4from
fix/apply-fails
Aug 18, 2018
Merged

Disable apply button to workaround data loss issue#2204
droidmonkey merged 2 commits intorelease/2.3.4from
fix/apply-fails

Conversation

@droidmonkey
Copy link
Copy Markdown
Member

Description

Temporary workaround for #2191. The actual fix requires a refactor to how entries/groups are created and saved (ie, move that function away from DatabaseWidget class).

Also fixes divide by zero error that can occur in the database icon download (found during testing of this issue).

Motivation and context

If a user creates a new entry and only hits apply and then locks the database, the new entry is lost.

How has this been tested?

Corrected automatic tests and manually

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]
  • ✅ I have added tests to cover my changes.

* Workaround to prevent data loss if apply is hit but not OK or Cancel
* Refactor required to fix this issue
@droidmonkey droidmonkey merged commit 8db604e into release/2.3.4 Aug 18, 2018
@droidmonkey droidmonkey deleted the fix/apply-fails branch August 18, 2018 14:31
droidmonkey added a commit that referenced this pull request Aug 22, 2018
- Show all URL schemes in entry view [#1768]
- Disable merge when database is locked [#1975]
- Fix intermittent crashes with favorite icon downloads [#1980]
- Provide potential crash warning to Qt 5.5.x users [#2211]
- Disable apply button when creating new entry/group to prevent data loss [#2204]
- Allow for 12 hour timeout to lock idle database [#2173]
- Multiple SSH Agent fixes [#1981, #2117]
- Multiple Browser Integration enhancements [#1993, #2003, #2055, #2116, #2159, #2174, #2185]
- Fix browser proxy application not closing properly [#2142]
- Add real names and Patreon supporters to about dialog [#2214]
- Add settings button to toolbar, Donate button, and Report a Bug button to help menu [#2214]
- Enhancements to release-tool to appsign intermediate build products [#2101]
@phoerious phoerious added pr: bugfix Pull request fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

high priority 🚨 pr: bugfix Pull request fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants