Remove old upgrade code

Bug #1420276 reported by Phill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
High
Tim Bentley

Bug Description

Added as a bug to remember things to do after 2.2, please add additional tasks:

In plugin/songs/lib/openlyricsxml.py:get_verses there is an if statement with the following comment:

"This is an old style song, without XML. Let's handle it correctly by iterating through the verses, and then recreating the internal xml object as well."

This code should be removed as we do not support upgrade paths < 2.0.5

-----------------------------------------------------------------------------

In core/common/settings.py:Settings __obsolete_settings__ has four settings commented with:

"Changed during 1.9.x development."

This code should be removed as we do not support upgrade paths < 2.0.5

Related branches

Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Low
description: updated
description: updated
Phill (phill-ridout)
description: updated
Revision history for this message
Tim Bentley (trb143) wrote :

There are a number of other places as well.

ServiceItem ,
ImagePlugin.

Most are tagged with TODOs

summary: - Remove old upgrade code in plugin/songs/lib/openlyricsxml.py:get_verses
+ Remove old upgrade code
Revision history for this message
Phill (phill-ridout) wrote :

Done:
In openlp.plugins.bibles.lib.db.BibleDB#is_old_database there is the following comment:

"Returns ``True`` if it is a bible database, which has been created prior to 1.9.6."

This code should be removed as we do not support upgrade paths < 2.0.5

description: updated
Tomas Groth (tomasgroth)
Changed in openlp:
importance: Low → Wishlist
status: New → Confirmed
Tim Bentley (trb143)
Changed in openlp:
assignee: nobody → Tim Bentley (trb143)
Tim Bentley (trb143)
Changed in openlp:
status: Confirmed → In Progress
importance: Wishlist → High
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.3.0
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
milestone: 2.3.0 → 2.3.1
status: Fix Committed → 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.