Web interface does not always send all necessary data

Bug #693694 reported by Andreas Preikschat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Raoul Snyman

Bug Description

Hello!

1) Add a few bible verses to the service.
2) Open the web interface (OpenLP Controller) in your browser.
3) Send the item live (via web interface).

Now you should see the verses in the slide controller in the web interface. Everything is fine and works as supposed.

4) Attempt to send another verse/slide live by clicking the "verse number" (see "verse_number.png").

This causes a traceback [1]. However, that is not a bug in OpenLP itself, rather in the Web Controller. See "requests.png". It shows both, clicking on the verse text (which works fine) and clicking on the "verse number". You see that the "GET" does not send a parameter (=slide number). Which explains the traceback [1]. The JS function is called "sendLiveSet" in openlp.js.

Cheers

[1]
Traceback (most recent call last):
  File "/home/andreas/Projekte/openlp/remotes/openlp/core/ui/slidecontroller.py", line 674, in onSlideSelectedIndex
    index = int(message[0])
TypeError: 'NoneType' object is unsubscriptable

Tags: remotes

Related branches

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :
Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :
tags: added: remotes
description: updated
Changed in openlp:
milestone: none → 1.9.4
assignee: nobody → Raoul Snyman (raoul-snyman)
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → In Progress
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.