Merge lp://qastaging/~johnmfl/openlp/delete_temp_songs_add_fields_dupsongreview into lp://qastaging/openlp

Proposed by Johnthan
Status: Merged
Merged at revision: 2882
Proposed branch: lp://qastaging/~johnmfl/openlp/delete_temp_songs_add_fields_dupsongreview
Merge into: lp://qastaging/openlp
Diff against target: 98 lines (+31/-11)
2 files modified
openlp/plugins/songs/forms/songreviewwidget.py (+30/-10)
openlp/plugins/songs/songsplugin.py (+1/-1)
To merge this branch: bzr merge lp://qastaging/~johnmfl/openlp/delete_temp_songs_add_fields_dupsongreview
Reviewer Review Type Date Requested Status
Tim Bentley Approve
Tomas Groth Approve
Raoul Snyman Approve
Review via email: mp+369062@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2019-06-19.

Commit message

#1832874
changed songsplugin.py from `is true` to `== True` to force the deletion of
temporary song records in the database on closing OpenLP. This may not be
proper python, but the database appears to need the `== True` to function
correctly.

#1832876
Change songreviewwidget.py to add the `last modified` date and the
`theme` used by the song. The bug lists 3 fields that would help
determine what song to delete...the user only wanted the last modified
date. I added the theme and songbook name, but the songbook name
was not added in this update...If I am the only person that wants the
songbook name it isn't worth the time to add.

Description of the change

#1832874
changed songsplugin.py from `is true` to `== True` to force the deletion of
temporary song records in the database on closing OpenLP. This may not be
proper python, but the database appears to need the `== True` to function
correctly.

#1832876
Change songreviewwidget.py to add the `last modified` date and the
`theme` used by the song. The bug lists 3 fields that would help
determine what song to delete...the user only wanted the last modified
date. I added the theme and songbook name, but the songbook name
was not added in this update...If I am the only person that wants the
songbook name it isn't worth the time to add.

To post a comment you must log in.
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Linux tests passed!

Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Linting failed, please see https://ci.openlp.io/job/MP-03-Linting/122/ for more details

Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Linux tests passed!

Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Linting failed, please see https://ci.openlp.io/job/MP-03-Linting/123/ for more details

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Linux tests passed!

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Linting passed!

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

macOS tests passed!

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Technically you are supposed to have a test included, but for this first time I'll let it pass.

review: Approve
Revision history for this message
Tomas Groth (tomasgroth) :
review: Approve
Revision history for this message
Tim Bentley (trb143) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.