Fixed and closed #385: exceptions logged when migrating pages and copying categories (results unaffected).
This commit is contained in:
parent
f0268791f6
commit
462716961d
2 changed files with 5 additions and 3 deletions
|
@ -1126,10 +1126,12 @@ namespace ScrewTurn.Wiki.Plugins.SqlCommon {
|
|||
newCategories = new string[pageCategories.Count];
|
||||
|
||||
for(int i = 0; i < pageCategories.Count; i++) {
|
||||
if(GetCategory(transaction, NameTools.GetFullName(tempName, pageCategories[i])) == null) {
|
||||
CategoryInfo added = AddCategory(tempName, pageCategories[i]);
|
||||
newCategories[i] = added.FullName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QueryBuilder queryBuilder = new QueryBuilder(builder);
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace ScrewTurn.Wiki.Plugins.SqlServer {
|
|||
/// </summary>
|
||||
public class SqlServerPagesStorageProvider : SqlPagesStorageProviderBase, IPagesStorageProviderV30 {
|
||||
|
||||
private readonly ComponentInformation info = new ComponentInformation("SQL Server Pages Storage Provider", "ScrewTurn Software", "3.0.0.341", "http://www.screwturn.eu", "http://www.screwturn.eu/Version/SQLServerProv/Pages.txt");
|
||||
private readonly ComponentInformation info = new ComponentInformation("SQL Server Pages Storage Provider", "ScrewTurn Software", "3.0.1.403", "http://www.screwturn.eu", "http://www.screwturn.eu/Version/SQLServerProv/Pages.txt");
|
||||
|
||||
private readonly SqlServerCommandBuilder commandBuilder = new SqlServerCommandBuilder();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue