← Back to team overview

openlp-core team mailing list archive

[Bug 1039221] [NEW] No validation on background image field in theme wizard

 

Public bug reported:

Create a new theme, on the background page select a background type of image, but leave the image box blank.
Click through to end of the wizard, after clicking finish, the following error occurs:

Traceback (most recent call last):
  File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.ui.themeform", line 627, in accept
  File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.ui.thememanager", line 673, in saveTheme
  File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.lib.imagemanager", line 225, in updateImageBorder
KeyError: (u'', 2)

** Affects: openlp
     Importance: Undecided
     Assignee: phill (phill-ridout)
         Status: New

** Changed in: openlp
     Assignee: (unassigned) => phill (phill-ridout)

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1039221

Title:
  No validation on background image field in theme wizard

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Create a new theme, on the background page select a background type of image, but leave the image box blank.
  Click through to end of the wizard, after clicking finish, the following error occurs:

  Traceback (most recent call last):
    File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.ui.themeform", line 627, in accept
    File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.ui.thememanager", line 673, in saveTheme
    File "D:\OpenLP_Code\release-1.9.11\build\pyi.win32\OpenLP\out01-PYZ.pyz\openlp.core.lib.imagemanager", line 225, in updateImageBorder
  KeyError: (u'', 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1039221/+subscriptions


Follow ups

References