← Back to team overview

openlp-core team mailing list archive

[Bug 1371186] [NEW] Invalid boolean check in sql filter clause songsplugin.py

 

Public bug reported:

/openlp/plugins/songs/songsplugin.py line 347

Old:
songs = self.manager.get_all_objects(Song, Song.temporary is True)

raises sqlalchemy filter clause exception when exiting program.

Change to:
songs = self.manager.get_all_objects(Song, Song.temporary==True)

** Affects: openlp
     Importance: Undecided
         Status: New

** Branch linked: lp:openlp

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

Title:
  Invalid boolean check in sql filter clause songsplugin.py

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  /openlp/plugins/songs/songsplugin.py line 347

  Old:
  songs = self.manager.get_all_objects(Song, Song.temporary is True)

  raises sqlalchemy filter clause exception when exiting program.

  Change to:
  songs = self.manager.get_all_objects(Song, Song.temporary==True)

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


Follow ups

References