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

fix(developer): test that MRU project exists before attempting to reference on startup #11252

Merged

Conversation

mcdurdin
Copy link
Member

Fixes #11194.

If the last-used project file no longer exists (e.g. has been renamed), then Keyman Developer would crash as it did not test that the file had been loaded successfully before attempting to reference it.

User Testing

…erence on startup

Fixes #11194.

If the last-used project file no longer exists (e.g. has been renamed),
then Keyman Developer would crash as it did not test that the file had
been loaded successfully before attempting to reference it.
@mcdurdin mcdurdin requested a review from darcywong00 as a code owner April 18, 2024 07:07
@keymanapp-test-bot keymanapp-test-bot bot added has-user-test user-test-required User tests have not been completed labels Apr 18, 2024
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Apr 18, 2024

User Test Results

Test specification and instructions

  • TEST_PROJECT_LOAD (PASSED): Tested with the attached PR build (Keyman Developer 17.0.310-beta=test_11252) on Windows 11 OS (VM) and here is my observation: 1. Selected a project folder. (eg., TamilNew). 2. Renamed the project folder name to TamilNewTest. 3. Opened the folder. Double-clicked on the .kpj file. Verified that the project opened successfully.

Test Artifacts

@bharanidharanj
Copy link

Test Results

  • TEST_PROJECT_LOAD (PASSED): Tested with the attached PR build (Keyman Developer 17.0.310-beta=test_11252) on Windows 11 OS (VM) and here is my observation: 1. Selected a project folder. (eg., TamilNew). 2. Renamed the project folder name to TamilNewTest. 3. Opened the folder. Double-clicked on the .kpj file. Verified that the project opened successfully.

@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-required User tests have not been completed label Apr 18, 2024
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin merged commit 50f2547 into beta Apr 22, 2024
5 checks passed
@mcdurdin mcdurdin deleted the fix/developer/11194-avoid-crash-if-mru-project-is-missing branch April 22, 2024 04:17
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.312-beta

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

Successfully merging this pull request may close these issues.

bug(developer): Renaming a keyboard folder and opening .kpj file crashes
4 participants