Alert with line break from remote makes desktop report a bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Medium
|
Tim Bentley | ||
2.2 |
Fix Released
|
Medium
|
Tim Bentley |
Bug Description
When you show an alert with more than one line (that shouldn't possible) using the Android app, OpenLP in desktop show an alert saying that an error ocurred, but it doesn't crash. See below:
Traceback (most recent call last):
File "/Users/
File "/Users/
File "/Users/
File "/Users/
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
OpenLP 2.2.1
Mac OS 10.10.5
In Ubuntu, nothing happens.
Related branches
- Tomas Groth: Approve
-
Diff: 132 lines (+110/-1)3 files modifiedopenlp/plugins/alerts/lib/alertsmanager.py (+5/-1)
tests/functional/openlp_plugins/alerts/__init__.py (+21/-0)
tests/functional/openlp_plugins/alerts/test_manager.py (+84/-0)
- Tomas Groth: Approve
-
Diff: 132 lines (+110/-1)3 files modifiedopenlp/plugins/alerts/lib/alertsmanager.py (+5/-1)
tests/functional/openlp_plugins/alerts/__init__.py (+21/-0)
tests/functional/openlp_plugins/alerts/test_manager.py (+84/-0)
summary: |
- Alert with more than one line in Android app report a bug + Alert with more than one line in Android app makes desktop report a bug |
Changed in openlp: | |
assignee: | nobody → Tim Bentley (trb143) |
Changed in openlp: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openlp: | |
status: | Confirmed → In Progress |
summary: |
- Alert with more than one line in Android app makes desktop report a bug + Alert with \n from remote makes desktop report a bug |
summary: |
- Alert with \n from remote makes desktop report a bug + Alert with line break from remote makes desktop report a bug |
Changed in openlp: | |
milestone: | none → 2.3.0 |
status: | In Progress → Fix Committed |
Changed in openlp: | |
milestone: | 2.3.0 → 2.3.1 |
status: | Fix Committed → Fix Released |