Editing and Deleting Bibles is broken

Bug #1590386 reported by Azaziah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
Medium
Ken Roberts

Bug Description

When trying to edit the selected Bible, the following traceback appears:

Traceback (most recent call last):
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
    self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
    self.setupUi(self)
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
    'book_name_label[{name}]'.format(book=book['abbreviation']))
KeyError: 'name'

When Trying to delete the selected Bible,
it does not get deleted when the delete
action is pressed and confirmed.

Win 8.1

Trunk revision 2674

Related branches

Azaziah (suutari-olli)
description: updated
description: updated
Ken Roberts (alisonken1)
Changed in openlp:
importance: Undecided → Medium
assignee: nobody → Ken Roberts (alisonken1)
status: New → Fix Committed
Revision history for this message
Azaziah (suutari-olli) wrote :

On editing Bible, when "Save" is pressed.

Traceback (most recent call last):
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 124, in accept
    self.manager.save_meta_data(self.bible, version, copyright, permissions, book_name_language)
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\manager.py", line 374, in save_meta_data
    perms=permissions))
KeyError: 'copyright'

Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.9.1
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.