You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed upgrade issue that resulted in a non-standard database configuration if upgrading from a version prior to 6.0.0. (Fixes#8)
- Updated readme file to contain minimum version information as well as DNN 9.2.0 upgrade recommendations
- Corrrected cleanup file to ensure that upgrades to 6.0.0 and later remove the older files necessarry (Fixes#7)
Copy file name to clipboardexpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@ A simple document management module for DotNetNuke & Evoq. This module has been
4
4
5
5
## Minimum DNN Versions
6
6
7
+
The current release of the DNN Documents module requires DNN 7.0.0 and later and .NET 4.0. This release can be installed on any DNN Version from 7.0.0 to 9.2.x and later. This release contains major fixes required for the 9.2.x release.
8
+
9
+
## DNN Uupgrade Considerations
10
+
11
+
Due to the major API changes that was included as part of the DNN 9.2.0 release, it is recommended that you upgrade the DNN Documents module to 7.0.0 BEFORE upgrading your website to DNN/Evoq 9.2.0, this will ensure that you do not encounter any upgrade errors related to this module.
7
12
* Prior to Version 6.2.5 - Supports DNN 6.0.0 and later, running .NET 3.5 and later
8
13
* Version 6.2.5 and Later - Supports DNN 6.0.0 and later, running .NET 4.0 and later
Copy file name to clipboardexpand all lines: Source/DnnDocuments/Providers/DataProviders/SqlDataProvider/06.00.00.SqlDataProvider
+96
Original file line number
Diff line number
Diff line change
@@ -163,3 +163,99 @@ VALUES (
163
163
SELECT SCOPE_IDENTITY()
164
164
GO
165
165
166
+
--Discrepancy fix for upgrades prior to version 06.00.00
167
+
IF (SELECT COLUMNPROPERTY( OBJECT_ID('{databaseOwner}{objectQualifier}DocumentsSettings'),'AllowUserSort','AllowsNull')) IS NULL
168
+
ALTER TABLE {databaseOwner}{objectQualifier}DocumentsSettings
169
+
DefaultFolder NVARCHAR(2000) NULL,
170
+
CategoriesListName NVARCHAR(50) NULL,
171
+
ADD AllowUserSort BIT NULL
172
+
GO
173
+
174
+
--Ensure all procedures the same
175
+
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}AddDocumentsSettings]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
176
+
DROP PROCEDURE {databaseOwner}[{objectQualifier}AddDocumentsSettings]
177
+
GO
178
+
179
+
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}UpdateDocumentsSettings]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
180
+
DROP PROCEDURE {databaseOwner}[{objectQualifier}UpdateDocumentsSettings]
181
+
GO
182
+
183
+
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}DeleteDocumentsSettings]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
184
+
DROP PROCEDURE {databaseOwner}[{objectQualifier}DeleteDocumentsSettings]
185
+
GO
186
+
187
+
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'{databaseOwner}[{objectQualifier}GetDocumentsSettings]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
188
+
DROP PROCEDURE {databaseOwner}[{objectQualifier}GetDocumentsSettings]
0 commit comments