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

Stop App Lock on Error #58

Merged
merged 10 commits into from
Apr 15, 2020
Merged

Stop App Lock on Error #58

merged 10 commits into from
Apr 15, 2020

Conversation

MartinHenriksen
Copy link
Contributor

@MartinHenriksen MartinHenriksen commented Mar 25, 2020

Issues addressed by this PR

Closes #7

Exceptions raised during execution caused RFEM app to hang/lock up.

Test files

no test file. To test an intentional exception must be raised.
e.g..: on line 56 in Read Bar class, change increment from '+1' to '+10' to force reading non-existing Bar element:
lineIdNum = modelData.GetLineCount() + 10;
expected behaviour would be for operation to fail while RFEM app remains responsive.

@MartinHenriksen MartinHenriksen added status:do-not-merge For instance, test PR, for discussion, or dependant PRs not ready for merge status:WIP PR in progress and still in draft, not ready for formal review labels Mar 25, 2020
@MartinHenriksen MartinHenriksen added this to the BHoM 3.1 β Release milestone Mar 25, 2020
@MartinHenriksen MartinHenriksen self-assigned this Mar 25, 2020
@MartinHenriksen MartinHenriksen removed status:WIP PR in progress and still in draft, not ready for formal review status:do-not-merge For instance, test PR, for discussion, or dependant PRs not ready for merge labels Mar 25, 2020
@MartinHenriksen MartinHenriksen requested a review from alelom March 25, 2020 21:34
@IsakNaslundBh
Copy link
Contributor

@MartinHenriksen Any Progress on this? @staintono @AjohnnashA are you able to test this?

Copy link
Contributor

@staintono staintono left a comment

Choose a reason for hiding this comment

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

added 'app.Show()' to refresh GUI

Copy link
Contributor

@staintono staintono left a comment

Choose a reason for hiding this comment

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

lgtm

@FraserGreenroyd
Copy link
Contributor

/azp run RFEM_Toolkit.CheckInstaller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MartinHenriksen MartinHenriksen added severity:medium Slows progress, but workaround is possible type:bug Error or unexpected behaviour labels Apr 15, 2020
@MartinHenriksen MartinHenriksen changed the title #7 app close on error Stop App Lock on Error Apr 15, 2020
@MartinHenriksen MartinHenriksen merged commit f3a04b0 into master Apr 15, 2020
@MartinHenriksen MartinHenriksen deleted the #7-AppCloseOnError branch April 15, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:medium Slows progress, but workaround is possible type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFEM_Toolkit: App does not close correctly
4 participants