History | Log In     View a printable version of the current page.  
Please note that Jira will be offline Saturday July 26, 2008 from 3:00 AM to 6:00 AM EDT (GMT -4) for scheduled maintenance.
Issue Details (XML | Word | Printable)

Key: GATH-47
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Esamynn
Reporter: Esamynn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Gatherer

the current settings conversion code does not work (designed for an obsolete table structure)

Created: 04/Mar/08 07:57 PM   Updated: 04/Mar/08 10:43 PM
Component/s: Config
Affects Version/s: 3.0.6
Fix Version/s: 3.1.0

Issue Links:
Reference
 


 Description  « Hide
The current old settings conversion code is out-dated and needs to be updated to work with the current settings table structure.

 All   Comments   Change History   FishEye      Sort Order:
Esamynn - 04/Mar/08 07:59 PM
The conversion function will be updated for the new table structure and will become the globally accessible function Gatherer.Config.ConvertOldSettings( conversions ). The arg conversions is a table who's keys become the 2nd arg passed to gsub for each current setting key, while each key's value becomes the 3rd arg passed to gsub.

Esamynn - 04/Mar/08 08:00 PM
While I'm at it, I'm adding a conversion entry

["^hud%.(.*)$"] = "plugin.gatherer_hud.%1"

which will convert all of the non-plugin hud settings into the new plugin hud versions.

Esamynn - 04/Mar/08 10:36 PM
there is a syntax bug in the current code, line 123

Esamynn - 04/Mar/08 10:43 PM
Tested against my own SV file.