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

Bugfix 05 #7

Merged
merged 2 commits into from Jun 13, 2021
Merged

Bugfix 05 #7

merged 2 commits into from Jun 13, 2021

Conversation

ZAdamMac
Copy link
Owner

Addresses two problems that could lead to crashes of the monitor application:

  • In certain situations (when deleting or marking read at a time when there were no messages in the queue) it is possible for certain human input events to generate a return of an unassigned variable, crashing the application. New Behaviour: marking read or deleting messages while the queue is empty will immediately refresh the queue.
  • In the event of network issues while the monitor is operating the monitor can crash. New Behaviour: an error warning is displayed at the minor warning colour scheme and the main operation loop will resume after 60 seconds. This can continue indefinitely until network connectivity is restored (at which point recovery is automatic) or the operator restarts the system. This was issue Unforseen/Undiagnosable crash in Monitor v 1.0.3 #6

…user provides an input while the list of locally-cached messages is empty. This was caused by updated_messages only becoming defined in the context of either function if the length of list_messages was greater than 0, creating the possibility it is attempted to be returned undefined.
Closes a bug that can cause the monitor applet to crash when encountering network issues during its main operation loop. This was previously a silent crash - now a new error message is displayed and the connection attempts will be halted for 60 seconds before resuming. During such a time menus will be inaccessible.
@ZAdamMac ZAdamMac merged commit 81e03a8 into master Jun 13, 2021
@ZAdamMac ZAdamMac deleted the bugfix-05 branch June 13, 2021 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant