Editing WikiDB/CHANGELOG

From TestWiki
Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 330: Line 330:
 
== v2 / v1 ==
 
== v2 / v1 ==
  
Changelogs were not kept for earlier versions, I'm afraid.  However, there were some upgrade notes provided when v2 was released:
+
Changelogs were not kept for earlier versions, I'm afraid.
 
+
: '''Changes that require re-parsing all pages:'''
+
:* Table data is now parsed AFTER the parser has stripped nowiki, pre, etc. so on pages where you had either <data> tags or field defintions (i.e. lines in a table namespace starting with >) you may have extra rows in the database that shouldn't be there.  For example, if you had a data definition within <nowiki> tags, it would have been counted as table data, whereas now it is correctly skipped.  Any pages where this was the case will continue to exhibit the previous incorrect behaviour until re-parsed.
+
:* Table data is now parsed AFTER template expansion, so on pages where you used a template to create a data tag or a field definition the data should now correctly be saved to the DB.  If you had pages that used these constructs then the data was not being added correctly in previous versions. Any pages where this was the case will continue to exhibit the previous incorrect behaviour until re-parsed.
+
 
+
:''' Changes that require data-massaging:'''
+
:* Aliases to fields whose name was longer than 255 characters were broken in earlier versions (as the name was truncated for the field, but not for the alias).  This is now fixed, however any existing table definitions which include aliases of fields longer than 255 chars will stay broken until they are re-parsed.
+
:* Minor display bug in a few edge cases (with old data from previous versions).  If you have a table definition with 'Options' set but no 'Type' then the options are passed to the guessed type.  Now they are ignored.  In the current codebase this should not be possible, but in previous versions it was possible to set options without a type (e.g. <code>&gt; FieldName:(0,5)</code>).  This didn't cause incorrect functioning at all, but could cause incorrect display on the table definition page, and the incorrect data could still be sitting in the DB somewhere.
+

Please note that all contributions to TestWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see TestWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)